public interface DateSettable extends ScalarSettable
TokenSettable
object containing a date value.TokenTypeConstant#DATE
Modifier and Type | Method and Description |
---|---|
void |
set(CalendarDate date)
Sets the container to the specified calendar date.
|
void |
set(Date date)
Deprecated.
since 6.1; use
set(CalendarDate) instead. |
void |
set(Date date,
TimeZone tz)
Deprecated.
since 6.1; use
set(CalendarDate) instead. |
void |
set(long days)
Sets the container to a date value specified as the number of days
since Java epoch (January 1, 1970 GMT).
|
set, setNull, setZero
getType
@Deprecated void set(Date date)
set(CalendarDate)
instead.java.util.Date
object, relative to the default time zone.
The time zone returned by TimeZone.getDefault()
is used.date
- date value to which to set the container, expressed as a
point in time relative to the default time zone@Deprecated void set(Date date, TimeZone tz)
set(CalendarDate)
instead.java.util.Date
object, relative to the given time zone.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 interpretedvoid set(long days)
days
- date value to which to set the container, expressed as the
number of days since Java epochvoid set(CalendarDate date)
date
- value to which to set the containerCopyright © 2019 Actian Corporation. All rights reserved.