Enum MonthOfYearEnum
- java.lang.Object
-
- java.lang.Enum<MonthOfYearEnum>
-
- eu.datex2.siri13.schema._1_0._1_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>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APRILThe month of April.AUGUSTThe month of August.DECEMBERThe month of December.FEBRUARYThe month of February.JANUARYThe month of January.JULYThe month of July.JUNEThe month of June.MARCHThe month of March.MAYThe month of May.NOVEMBERThe month of November.OCTOBERThe month of October.SEPTEMBERThe month of September.
-
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
The month of January.
-
FEBRUARY
public static final MonthOfYearEnum FEBRUARY
The month of February.
-
MARCH
public static final MonthOfYearEnum MARCH
The month of March.
-
APRIL
public static final MonthOfYearEnum APRIL
The month of April.
-
MAY
public static final MonthOfYearEnum MAY
The month of May.
-
JUNE
public static final MonthOfYearEnum JUNE
The month of June.
-
JULY
public static final MonthOfYearEnum JULY
The month of July.
-
AUGUST
public static final MonthOfYearEnum AUGUST
The month of August.
-
SEPTEMBER
public static final MonthOfYearEnum SEPTEMBER
The month of September.
-
OCTOBER
public static final MonthOfYearEnum OCTOBER
The month of October.
-
NOVEMBER
public static final MonthOfYearEnum NOVEMBER
The month of November.
-
DECEMBER
public static final MonthOfYearEnum DECEMBER
The month of 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)
-
-