Class SqlTimestampWithTimeZone
java.lang.Object
io.trino.spi.type.SqlTimestampWithTimeZone
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SqlTimestampWithTimeZonefromInstant(int precision, Instant instant, ZoneId zoneId) longlongintintinthashCode()static SqlTimestampWithTimeZonenewInstance(int precision, long epochMillis, int picosOfMilli, TimeZoneKey timeZoneKey) roundTo(int precision) toString()
-
Method Details
-
fromInstant
-
newInstance
public static SqlTimestampWithTimeZone newInstance(int precision, long epochMillis, int picosOfMilli, TimeZoneKey timeZoneKey) -
getPrecision
public int getPrecision() -
getEpochMillis
public long getEpochMillis() -
getPicosOfMilli
public int getPicosOfMilli() -
getMillisUtc
public long getMillisUtc() -
getTimeZoneKey
-
roundTo
-
toString
-
equals
-
hashCode
-
toZonedDateTime
- Returns:
- timestamp with time zone rounded to nanosecond precision
-