Package org.opencms.acacia.shared
Enum I_CmsSerialDateValue.WeekOfMonth
- java.lang.Object
-
- java.lang.Enum<I_CmsSerialDateValue.WeekOfMonth>
-
- org.opencms.acacia.shared.I_CmsSerialDateValue.WeekOfMonth
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<I_CmsSerialDateValue.WeekOfMonth>
- Enclosing interface:
- I_CmsSerialDateValue
public static enum I_CmsSerialDateValue.WeekOfMonth extends java.lang.Enum<I_CmsSerialDateValue.WeekOfMonth>
Possible weeks of a month.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static I_CmsSerialDateValue.WeekOfMonth
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static I_CmsSerialDateValue.WeekOfMonth[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIRST
public static final I_CmsSerialDateValue.WeekOfMonth FIRST
The first week of a month.
-
SECOND
public static final I_CmsSerialDateValue.WeekOfMonth SECOND
The second week of a month.
-
THIRD
public static final I_CmsSerialDateValue.WeekOfMonth THIRD
The third week of a month.
-
FOURTH
public static final I_CmsSerialDateValue.WeekOfMonth FOURTH
The fourth week of a month.
-
LAST
public static final I_CmsSerialDateValue.WeekOfMonth LAST
The last week of a month.
-
-
Method Detail
-
values
public static I_CmsSerialDateValue.WeekOfMonth[] 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 (I_CmsSerialDateValue.WeekOfMonth c : I_CmsSerialDateValue.WeekOfMonth.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static I_CmsSerialDateValue.WeekOfMonth valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-