-
- All Superinterfaces:
ScalarSettable
,ScalarTyped
,TokenSettable
,TokenTyped
- All Known Subinterfaces:
DateOutputField
- All Known Implementing Classes:
DateRegister
public interface DateSettable extends ScalarSettable
ATokenSettable
object containing a date value.- See Also:
TokenTypeConstant#DATE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
set(long days)
Sets the container to a date value specified as the number of days since Java epoch (January 1, 1970 GMT).void
set(CalendarDate date)
Sets the container to the specified calendar date.void
set(Date date)
Deprecated.since 6.1; useset(CalendarDate)
instead.void
set(Date date, TimeZone tz)
Deprecated.since 6.1; useset(CalendarDate)
instead.-
Methods inherited from interface com.pervasive.datarush.types.ScalarTyped
getType
-
Methods inherited from interface com.pervasive.datarush.tokens.TokenSettable
set, setNull, setZero
-
-
-
-
Method Detail
-
set
@Deprecated void set(Date date)
Deprecated.since 6.1; useset(CalendarDate)
instead.Sets the container to a date value specified as ajava.util.Date
object, relative to the default time zone. The time zone returned byTimeZone.getDefault()
is used.- Parameters:
date
- date value to which to set the container, expressed as a point in time relative to the default time zone
-
set
@Deprecated void set(Date date, TimeZone tz)
Deprecated.since 6.1; useset(CalendarDate)
instead.Sets the container to a date value specified as ajava.util.Date
object, relative to the given time zone.- Parameters:
date
- date value to which to set the container, expressed as a point in time relative to the specified time zonetz
- the time zone 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
void set(CalendarDate date)
Sets the container to the specified calendar date.- Parameters:
date
- value to which to set the container
-
-