public interface TimestampSettable extends ScalarSettable
TokenSettable
object containing a timestamp value.TokenTypeConstant#TIMESTAMP
Modifier and Type | Method and Description |
---|---|
void |
set(Date date)
Sets the container to a timestamp value specified as a
java.util.Date object, relative to the default time zone. |
void |
set(Date date,
TimeZone timeZone)
Sets the container to a timestamp value specified as a
java.util.Date object, relative to the given time zone. |
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.
|
void |
set(Timestamp timestamp)
Sets the container to a timestamp value specified as a
java.sql.Timestamp object, relative to the default time zone. |
void |
set(Timestamp timestamp,
TimeZone timeZone)
Sets the container to a timestamp value specified as a
java.sql.Timestamp object, relative to the given time zone. |
set, setNull, setZero
getType
void set(Timestamp timestamp)
java.sql.Timestamp
object, relative to the default time zone.
The time zone returned by TimeZone.getDefault()
is used.timestamp
- timestamp value to which to set the container, expressed
as a point in time relative to the default time zone.void set(Date date)
java.util.Date
object, relative to the default time zone.
The time zone returned by TimeZone.getDefault()
is used.date
- timestamp value to which to set the container, expressed
as a point in time relative to the default time zone.void set(Timestamp timestamp, TimeZone timeZone)
java.sql.Timestamp
object, relative to the given time zone.timestamp
- timestamp value to which to set the container, expressed
as a point in time relative to the default time zone.timeZone
- the time zone in which the timestamp should be interpretedvoid set(Date date, TimeZone timeZone)
java.util.Date
object, relative to the given time zone.date
- timestamp value to which to set the container, expressed
as a point in time relative to the default time zone.timeZone
- the time zone in which the timestamp should be interpretedvoid set(long seconds, int nanos, int offsetSeconds)
seconds
- number of seconds since Java epochnanos
- fractional portion of epoch time in nanosecondsoffsetSeconds
- time zone and daylight saving time offset, in secondsCopyright © 2020 Actian Corporation. All rights reserved.