- All Superinterfaces:
ScalarSettable,ScalarTyped,TokenSettable,TokenTyped
- All Known Subinterfaces:
TimestampOutputField
- All Known Implementing Classes:
TimestampRegister
A
TokenSettable object containing a timestamp value.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidset(long seconds, int nanos, int offsetSeconds) Sets the container to a timestamp value specified as time since Java epoch (January 1, 1970 00:00:00 GMT) with time zone and daylight saving time offset.voidSets the container to a timestamp value specified as ajava.sql.Timestampobject, relative to the default time zone.voidSets the container to a timestamp value specified as ajava.sql.Timestampobject, relative to the given time zone.voidSets the container to a timestamp value specified as ajava.util.Dateobject, relative to the default time zone.voidSets the container to a timestamp value specified as ajava.util.Dateobject, relative to the given time zone.Methods inherited from interface com.pervasive.datarush.types.ScalarTyped
getTypeMethods inherited from interface com.pervasive.datarush.tokens.TokenSettable
set, setNull, setZero
-
Method Details
-
set
Sets the container to a timestamp value specified as ajava.sql.Timestampobject, relative to the default time zone. The time zone id returned by {@link ZoneId.systemDefault()} is used.- Parameters:
timestamp- timestamp value to which to set the container, expressed as a point in time relative to the default time zone.
-
set
Sets the container to a timestamp value specified as ajava.util.Dateobject, relative to the default time zone. The time zone returned by {@link ZoneId.systemDefault()} is used.- Parameters:
date- timestamp value to which to set the container, expressed as a point in time relative to the default time zone.
-
set
Sets the container to a timestamp value specified as ajava.sql.Timestampobject, relative to the given time zone.- Parameters:
timestamp- timestamp value to which to set the container, expressed as a point in time relative to the default time zone.zoneId- the time zone id in which the timestamp should be interpreted
-
set
Sets the container to a timestamp value specified as ajava.util.Dateobject, relative to the given time zone.- Parameters:
date- timestamp value to which to set the container, expressed as a point in time relative to the default time zone.zoneId- the time zone id in which the timestamp should be interpreted
-
set
void set(long seconds, int nanos, int offsetSeconds) Sets the container to a timestamp value specified as time since Java epoch (January 1, 1970 00:00:00 GMT) with time zone and daylight saving time offset.- Parameters:
seconds- number of seconds since Java epochnanos- fractional portion of epoch time in nanosecondsoffsetSeconds- time zone and daylight saving time offset, in seconds
-