public static enum ZonalOffset.Sign extends Enum<ZonalOffset.Sign>
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 ZonalOffset.Sign |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZonalOffset.Sign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZonalOffset.Sign BEHIND_UTC
Negative sign (west for Greenwich meridian).
public static final ZonalOffset.Sign AHEAD_OF_UTC
Positive sign (also in case of zero offset).
public static ZonalOffset.Sign[] values()
for (ZonalOffset.Sign c : ZonalOffset.Sign.values()) System.out.println(c);
public static ZonalOffset.Sign 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. All rights reserved.