Enum MonthOfYearEnum
- java.lang.Object
-
- java.lang.Enum<MonthOfYearEnum>
-
- eu.datex2.siri21.schema._2_0rc1._2_0.MonthOfYearEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MonthOfYearEnum>
public enum MonthOfYearEnum extends Enum<MonthOfYearEnum>
Java class for MonthOfYearEnum.
The following schema fragment specifies the expected content contained within this class.
<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>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MonthOfYearEnumfromValue(String v)Stringvalue()static MonthOfYearEnumvalueOf(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.
-
-
-
Enum Constant Detail
-
JANUARY
public static final MonthOfYearEnum JANUARY
-
FEBRUARY
public static final MonthOfYearEnum FEBRUARY
-
MARCH
public static final MonthOfYearEnum MARCH
-
APRIL
public static final MonthOfYearEnum APRIL
-
MAY
public static final MonthOfYearEnum MAY
-
JUNE
public static final MonthOfYearEnum JUNE
-
JULY
public static final MonthOfYearEnum JULY
-
AUGUST
public static final MonthOfYearEnum AUGUST
-
SEPTEMBER
public static final MonthOfYearEnum SEPTEMBER
-
OCTOBER
public static final MonthOfYearEnum OCTOBER
-
NOVEMBER
public static final MonthOfYearEnum NOVEMBER
-
DECEMBER
public static final MonthOfYearEnum DECEMBER
-
-
Method Detail
-
values
public static MonthOfYearEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MonthOfYearEnum c : MonthOfYearEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MonthOfYearEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static MonthOfYearEnum fromValue(String v)
-
-