public enum OffsetSign extends java.lang.Enum<OffsetSign>
Represents the sign of a zonal shift.
| Enum Constant and Description |
|---|
AHEAD_OF_UTC
Positive sign (also in case of zero offset).
|
BEHIND_UTC
Negative sign (west for Greenwich meridian).
|
| Modifier and Type | Method and Description |
|---|---|
static OffsetSign |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OffsetSign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OffsetSign BEHIND_UTC
Negative sign (west for Greenwich meridian).
public static final OffsetSign AHEAD_OF_UTC
Positive sign (also in case of zero offset).
public static OffsetSign[] values()
for (OffsetSign c : OffsetSign.values()) System.out.println(c);
public static OffsetSign 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 null