public enum OffsetIndicator extends java.lang.Enum<OffsetIndicator>
Helps to interprete a timestamp relative to an timezone offset.
SimpleTimeZone.UTC_TIME,
SimpleTimeZone.STANDARD_TIME,
SimpleTimeZone.WALL_TIME| Enum Constant and Description |
|---|
STANDARD_TIME
Local standard time (UTC + standard-offset).
|
UTC_TIME
Reference to UTC-offset.
|
WALL_TIME
Local time (UTC + standard-offset + dst-offset).
|
| Modifier and Type | Method and Description |
|---|---|
char |
getSymbol()
Yields the symbol for this indicator as used in tzdb-repository.
|
static OffsetIndicator |
parseSymbol(char symbol)
Interpretes given symbol as indicator.
|
static OffsetIndicator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OffsetIndicator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OffsetIndicator UTC_TIME
public static final OffsetIndicator STANDARD_TIME
public static final OffsetIndicator WALL_TIME
public static OffsetIndicator[] values()
for (OffsetIndicator c : OffsetIndicator.values()) System.out.println(c);
public static OffsetIndicator valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static OffsetIndicator parseSymbol(char symbol)
Interpretes given symbol as indicator.
The TZDB-repository recognizes following letters:
UTC_TIMESTANDARD_TIMEWALL_TIMEsymbol - symbol letter to be parsed as found in TZDB-datajava.lang.IllegalArgumentException - if the letter is not supportedpublic char getSymbol()
Yields the symbol for this indicator as used in tzdb-repository.