@ThriftStruct public final class TimeZoneKey extends Object
| Modifier and Type | Field and Description |
|---|---|
static short |
MAX_TIME_ZONE_KEY |
static TimeZoneKey |
UTC_KEY |
| Constructor and Description |
|---|
TimeZoneKey(String id,
short key) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getId() |
short |
getKey() |
static TimeZoneKey |
getTimeZoneKey(short timeZoneKey) |
static TimeZoneKey |
getTimeZoneKey(String zoneId) |
static TimeZoneKey |
getTimeZoneKeyForOffset(long offsetMinutes) |
static Set<TimeZoneKey> |
getTimeZoneKeys() |
int |
hashCode() |
static boolean |
isUtcZoneId(String zoneId) |
String |
toString() |
public static final TimeZoneKey UTC_KEY
public static final short MAX_TIME_ZONE_KEY
@ThriftConstructor public TimeZoneKey(String id, short key)
public static Set<TimeZoneKey> getTimeZoneKeys()
public static TimeZoneKey getTimeZoneKey(short timeZoneKey)
public static TimeZoneKey getTimeZoneKey(String zoneId)
public static TimeZoneKey getTimeZoneKeyForOffset(long offsetMinutes)
@ThriftField(value=1) public String getId()
@ThriftField(value=2) public short getKey()
public static boolean isUtcZoneId(String zoneId)
Copyright © 2012–2022. All rights reserved.