Package io.trino.util
Class DateTimeZoneIndex
java.lang.Object
io.trino.util.DateTimeZoneIndex
-
Method Summary
Modifier and TypeMethodDescriptionstatic intextractZoneOffsetMinutes(long dateTimeWithTimeZone) static intextractZoneOffsetMinutes(long epochMillis, short zoneKey) static org.joda.time.chrono.ISOChronologygetChronology(TimeZoneKey zoneKey) static org.joda.time.DateTimeZonegetDateTimeZone(TimeZoneKey zoneKey) static longpackDateTimeWithZone(org.joda.time.DateTime dateTime) static org.joda.time.chrono.ISOChronologyunpackChronology(long timestampWithTimeZone) static org.joda.time.DateTimeZoneunpackDateTimeZone(long dateTimeWithTimeZone)
-
Method Details
-
getChronology
-
unpackChronology
public static org.joda.time.chrono.ISOChronology unpackChronology(long timestampWithTimeZone) -
getDateTimeZone
-
unpackDateTimeZone
public static org.joda.time.DateTimeZone unpackDateTimeZone(long dateTimeWithTimeZone) -
packDateTimeWithZone
public static long packDateTimeWithZone(org.joda.time.DateTime dateTime) -
extractZoneOffsetMinutes
public static int extractZoneOffsetMinutes(long dateTimeWithTimeZone) -
extractZoneOffsetMinutes
public static int extractZoneOffsetMinutes(long epochMillis, short zoneKey)
-