Enum WeekOfMonthEnum
- java.lang.Object
-
- java.lang.Enum<WeekOfMonthEnum>
-
- eu.datex2.siri21.schema._2_0rc1._2_0.WeekOfMonthEnum
-
- All Implemented Interfaces:
Serializable,Comparable<WeekOfMonthEnum>
public enum WeekOfMonthEnum extends Enum<WeekOfMonthEnum>
Java class for WeekOfMonthEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="WeekOfMonthEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="firstWeekOfMonth"/> <enumeration value="secondWeekOfMonth"/> <enumeration value="thirdWeekOfMonth"/> <enumeration value="fourthWeekOfMonth"/> <enumeration value="fifthWeekOfMonth"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIFTH_WEEK_OF_MONTHFIRST_WEEK_OF_MONTHFOURTH_WEEK_OF_MONTHSECOND_WEEK_OF_MONTHTHIRD_WEEK_OF_MONTH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WeekOfMonthEnumfromValue(String v)Stringvalue()static WeekOfMonthEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static WeekOfMonthEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIRST_WEEK_OF_MONTH
public static final WeekOfMonthEnum FIRST_WEEK_OF_MONTH
-
SECOND_WEEK_OF_MONTH
public static final WeekOfMonthEnum SECOND_WEEK_OF_MONTH
-
THIRD_WEEK_OF_MONTH
public static final WeekOfMonthEnum THIRD_WEEK_OF_MONTH
-
FOURTH_WEEK_OF_MONTH
public static final WeekOfMonthEnum FOURTH_WEEK_OF_MONTH
-
FIFTH_WEEK_OF_MONTH
public static final WeekOfMonthEnum FIFTH_WEEK_OF_MONTH
-
-
Method Detail
-
values
public static WeekOfMonthEnum[] 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 (WeekOfMonthEnum c : WeekOfMonthEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WeekOfMonthEnum 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 WeekOfMonthEnum fromValue(String v)
-
-