Package org.jpmml.model.temporals
Class SecondsSinceMidnight
- java.lang.Object
-
- java.lang.Number
-
- org.jpmml.model.temporals.Period<P>
-
- org.jpmml.model.temporals.SimplePeriod<SecondsSinceMidnight>
-
- org.jpmml.model.temporals.SecondsSinceMidnight
-
- All Implemented Interfaces:
Serializable,Comparable<SecondsSinceMidnight>,ComplexValue
public class SecondsSinceMidnight extends SimplePeriod<SecondsSinceMidnight>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecondsSinceMidnight(long seconds)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(SecondsSinceMidnight that)booleanequals(Object object)DataTypegetDataType()longgetSeconds()inthashCode()longlongValue()static SecondsSinceMidnightparse(String string)-
Methods inherited from class org.jpmml.model.temporals.Period
doubleValue, floatValue, intValue, toSimpleValue
-
Methods inherited from class java.lang.Number
byteValue, shortValue
-
-
-
-
Method Detail
-
getDataType
public DataType getDataType()
- Specified by:
getDataTypein classPeriod<SecondsSinceMidnight>
-
compareTo
public int compareTo(SecondsSinceMidnight that)
-
getSeconds
public long getSeconds()
-
parse
public static SecondsSinceMidnight parse(String string)
-
-