public enum MonthNamesType extends Enum<MonthNamesType>
Java class for MonthNamesType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="MonthNamesType">
<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 |
AUGUST |
DECEMBER |
FEBRUARY |
JANUARY |
JULY |
JUNE |
MARCH |
MAY |
NOVEMBER |
OCTOBER |
SEPTEMBER |
| Modifier and Type | Method and Description |
|---|---|
static MonthNamesType |
fromValue(String v) |
String |
value() |
static MonthNamesType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MonthNamesType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonthNamesType JANUARY
public static final MonthNamesType FEBRUARY
public static final MonthNamesType MARCH
public static final MonthNamesType APRIL
public static final MonthNamesType MAY
public static final MonthNamesType JUNE
public static final MonthNamesType JULY
public static final MonthNamesType AUGUST
public static final MonthNamesType SEPTEMBER
public static final MonthNamesType OCTOBER
public static final MonthNamesType NOVEMBER
public static final MonthNamesType DECEMBER
public static MonthNamesType[] values()
for (MonthNamesType c : MonthNamesType.values()) System.out.println(c);
public static MonthNamesType 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 nullpublic String value()
public static MonthNamesType fromValue(String v)
Copyright © 2015 Jasig. All Rights Reserved.