- All Superinterfaces:
ScalarTyped,ScalarValued,TokenTyped,TokenValued
- All Known Subinterfaces:
TimeInputField,TimeValuedIterator
- All Known Implementing Classes:
NullToken,TimeRegister,TimeToken
A
TokenValued object containing a time value.- See Also:
-
TokenTypeConstant#TIME
-
Method Summary
Modifier and TypeMethodDescriptionintGets the contained time value as the number of milliseconds elapsed since midnight.Gets the contained time value.Methods inherited from interface com.pervasive.datarush.tokens.scalar.ScalarValued
getType, isZeroMethods inherited from interface com.pervasive.datarush.tokens.TokenValued
isNull
-
Method Details
-
asDayMillis
int asDayMillis()Gets the contained time value as the number of milliseconds elapsed since midnight.- Returns:
- the contained value as milliseconds since midnight.
If null valued, as indicated by
TokenValued.isNull(),0is returned.
-
asTimeOfDay
TimeOfDay asTimeOfDay()Gets the contained time value. This value represents the timezone free time portion of a timestamp.- Returns:
- the contained value.
If null valued, as indicated by
TokenValued.isNull(),nullis returned.
-