- All Superinterfaces:
ScalarSettable,ScalarTyped,TokenSettable,TokenTyped
- All Known Subinterfaces:
DateOutputField
- All Known Implementing Classes:
DateRegister
A
TokenSettable object containing a date value.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidset(long days) Sets the container to a date value specified as the number of days since Java epoch (January 1, 1970 GMT).voidset(CalendarDate date) Sets the container to the specified calendar date.voidDeprecated.voidDeprecated.since 6.1; useset(CalendarDate)instead.Methods inherited from interface com.pervasive.datarush.types.ScalarTyped
getTypeMethods inherited from interface com.pervasive.datarush.tokens.TokenSettable
set, setNull, setZero
-
Method Details
-
set
Deprecated.since 6.1; useset(CalendarDate)instead.Sets the container to a date value specified as ajava.util.Dateobject, relative to the default time zone. The time zone id returned by {@link ZoneId.systemDefault()} is used.- Parameters:
date- date value to which to set the container, expressed as a point in time relative to the default time zone id
-
set
Deprecated.since 6.1; useset(CalendarDate)instead.Sets the container to a date value specified as ajava.util.Dateobject, relative to the given time zone id.- Parameters:
date- date value to which to set the container, expressed as a point in time relative to the specified time zonezoneId- the time zone id in which the date should be interpreted
-
set
void set(long days) Sets the container to a date value specified as the number of days since Java epoch (January 1, 1970 GMT).- Parameters:
days- date value to which to set the container, expressed as the number of days since Java epoch
-
set
Sets the container to the specified calendar date.- Parameters:
date- value to which to set the container
-
set(CalendarDate)instead.