public final class SqlTimestamp extends Object
| Modifier and Type | Field and Description |
|---|---|
static DateTimeFormatter |
JSON_MICROS_FORMATTER |
static DateTimeFormatter |
JSON_MILLIS_FORMATTER |
| Constructor and Description |
|---|
SqlTimestamp(long value,
TimeUnit precision) |
SqlTimestamp(long valueUTC,
TimeZoneKey sessionTimeZoneKey,
TimeUnit precision)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getMicros() |
long |
getMicrosUtc()
Deprecated.
|
long |
getMillis() |
long |
getMillisUtc()
Deprecated.
|
Optional<TimeZoneKey> |
getSessionTimeZoneKey()
Deprecated.
|
int |
hashCode() |
boolean |
isLegacyTimestamp()
Deprecated.
|
String |
toString() |
public static final DateTimeFormatter JSON_MILLIS_FORMATTER
public static final DateTimeFormatter JSON_MICROS_FORMATTER
public SqlTimestamp(long value,
TimeUnit precision)
@Deprecated public SqlTimestamp(long valueUTC, TimeZoneKey sessionTimeZoneKey, TimeUnit precision)
public long getMillis()
@Deprecated public long getMillisUtc()
public long getMicros()
@Deprecated public long getMicrosUtc()
@Deprecated public Optional<TimeZoneKey> getSessionTimeZoneKey()
@Deprecated public boolean isLegacyTimestamp()
Copyright © 2012–2022. All rights reserved.