public enum DaylightSavingTime extends java.lang.Enum<DaylightSavingTime>
Interface for tDaylightSavingTime.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="tDaylightSavingTime"> <restriction base="{http://www.w3.org/2001/XMLSchema}unsignedByte"> <minInclusive value="0"/> <maxInclusive value="1"/> <enumeration value="0"/> <enumeration value="1"/> <enumeration value="2"/> </restriction> </simpleType>
Enum Constant and Description |
---|
NO_ADJUSTMENT |
PLUS_ONE_HOUR_ADJUSTMENT |
PLUS_TWO_HOURS_ADJUSTMENT |
Modifier and Type | Method and Description |
---|---|
static DaylightSavingTime |
fromValue(short v) |
short |
value() |
static DaylightSavingTime |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DaylightSavingTime[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DaylightSavingTime NO_ADJUSTMENT
public static final DaylightSavingTime PLUS_ONE_HOUR_ADJUSTMENT
public static final DaylightSavingTime PLUS_TWO_HOURS_ADJUSTMENT
public static DaylightSavingTime[] values()
for (DaylightSavingTime c : DaylightSavingTime.values()) System.out.println(c);
public static DaylightSavingTime 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 short value()
public static DaylightSavingTime fromValue(short v)