public enum OffsetSign extends 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(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2017. All rights reserved.