java.sql.Timestamp instances. Timestamp instances are created from fields returned from the db without a timezone. In order
to create a point-in-time, a time zone must be provided to interpret the fields.
| Modifier and Type | Field and Description |
|---|---|
| private final Calendar | |
| private final TimeZone | |
| private final TimeZone | |
| private final Lock |
| Access | Constructor and Description |
|---|---|
| public | SqlTimestampValueFactory(PropertySet pset, Calendar
Calendar used to interpret the fields. calendar, TimeZone The local JVM time zone. defaultTimeZone, TimeZone The server session time zone as defined by connectionTimeZone property. connectionTimeZone)
|
| Modifier and Type | Method and Description |
|---|---|
| public String | getTargetTypeName()
Implements com. Get the actual class name of T parameter. |
| public Timestamp | Returns: a timestamp at midnight on the day given by the DATE valueImplements abstract com. Create a Timestamp from a DATE value. |
| public Timestamp | |
| public Timestamp | Returns: a timestamp at the given time on 1970 Jan 1.Implements abstract com. Create a Timestamp from a TIME value. |
| public Timestamp |
| cal | back to summary |
|---|---|
| private final Calendar cal | |
| connectionTimeZone | back to summary |
|---|---|
| private final TimeZone connectionTimeZone | |
| defaultTimeZone | back to summary |
|---|---|
| private final TimeZone defaultTimeZone | |
| defaultTimeZoneLock | back to summary |
|---|---|
| private final Lock defaultTimeZoneLock | |
| SqlTimestampValueFactory | back to summary |
|---|---|
public SqlTimestampValueFactory(PropertySet pset, Calendar calendar, TimeZone defaultTimeZone, TimeZone connectionTimeZone)
| |
| getTargetTypeName | back to summary |
|---|---|
| public String getTargetTypeName() Implements com. Doc from com. Get the actual class name of T parameter. | |
| localCreateFromDate | back to summary |
|---|---|
| public Timestamp localCreateFromDate(InternalDate idate) Implements abstract com. Create a Timestamp from a DATE value. | |
| localCreateFromDatetime | back to summary |
|---|---|
| public Timestamp localCreateFromDatetime(InternalTimestamp its) Implements abstract com.
| |
| localCreateFromTime | back to summary |
|---|---|
| public Timestamp localCreateFromTime(InternalTime it) Implements abstract com. Create a Timestamp from a TIME value. | |
| localCreateFromTimestamp | back to summary |
|---|---|
| public Timestamp localCreateFromTimestamp(InternalTimestamp its) Implements abstract com.
| |