public enum MonthOfYearEnum extends java.lang.Enum<MonthOfYearEnum>
Java-Klasse für MonthOfYearEnum.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<simpleType name="MonthOfYearEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="january"/> <enumeration value="february"/> <enumeration value="march"/> <enumeration value="april"/> <enumeration value="may"/> <enumeration value="june"/> <enumeration value="july"/> <enumeration value="august"/> <enumeration value="september"/> <enumeration value="october"/> <enumeration value="november"/> <enumeration value="december"/> </restriction> </simpleType>
Enum Constant and Description |
---|
APRIL
The month of April.
|
AUGUST
The month of August.
|
DECEMBER
The month of December.
|
FEBRUARY
The month of February.
|
JANUARY
The month of January.
|
JULY
The month of July.
|
JUNE
The month of June.
|
MARCH
The month of March.
|
MAY
The month of May.
|
NOVEMBER
The month of November.
|
OCTOBER
The month of October.
|
SEPTEMBER
The month of September.
|
Modifier and Type | Method and Description |
---|---|
static MonthOfYearEnum |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static MonthOfYearEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MonthOfYearEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonthOfYearEnum JANUARY
public static final MonthOfYearEnum FEBRUARY
public static final MonthOfYearEnum MARCH
public static final MonthOfYearEnum APRIL
public static final MonthOfYearEnum MAY
public static final MonthOfYearEnum JUNE
public static final MonthOfYearEnum JULY
public static final MonthOfYearEnum AUGUST
public static final MonthOfYearEnum SEPTEMBER
public static final MonthOfYearEnum OCTOBER
public static final MonthOfYearEnum NOVEMBER
public static final MonthOfYearEnum DECEMBER
public static MonthOfYearEnum[] values()
for (MonthOfYearEnum c : MonthOfYearEnum.values()) System.out.println(c);
public static MonthOfYearEnum 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 java.lang.String value()
public static MonthOfYearEnum fromValue(java.lang.String v)