Package io.prestosql.util
Class DateTimeZoneIndex
- java.lang.Object
-
- io.prestosql.util.DateTimeZoneIndex
-
public final class DateTimeZoneIndex extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
extractZoneOffsetMinutes(long dateTimeWithTimeZone)
static int
extractZoneOffsetMinutes(long epochMillis, short zoneKey)
static org.joda.time.chrono.ISOChronology
getChronology(TimeZoneKey zoneKey)
static org.joda.time.DateTimeZone
getDateTimeZone(TimeZoneKey zoneKey)
static long
packDateTimeWithZone(org.joda.time.DateTime dateTime)
static org.joda.time.chrono.ISOChronology
unpackChronology(long timestampWithTimeZone)
static org.joda.time.DateTimeZone
unpackDateTimeZone(long dateTimeWithTimeZone)
-
-
-
Method Detail
-
getChronology
public static org.joda.time.chrono.ISOChronology getChronology(TimeZoneKey zoneKey)
-
unpackChronology
public static org.joda.time.chrono.ISOChronology unpackChronology(long timestampWithTimeZone)
-
getDateTimeZone
public static org.joda.time.DateTimeZone getDateTimeZone(TimeZoneKey zoneKey)
-
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)
-
-