org.oddjob.schedules.units
Enum Month.Months
java.lang.Object
java.lang.Enum<Month.Months>
org.oddjob.schedules.units.Month.Months
- All Implemented Interfaces:
- Serializable, Comparable<Month.Months>, Month
- Enclosing interface:
- Month
public static enum Month.Months
- extends Enum<Month.Months>
- implements Month
Method Summary |
static Month.Months |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Month.Months[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
JANUARY
public static final Month.Months JANUARY
FEBRUARY
public static final Month.Months FEBRUARY
MARCH
public static final Month.Months MARCH
APRIL
public static final Month.Months APRIL
MAY
public static final Month.Months MAY
JUNE
public static final Month.Months JUNE
JULY
public static final Month.Months JULY
AUGUST
public static final Month.Months AUGUST
SEPTEMBER
public static final Month.Months SEPTEMBER
OCTOBER
public static final Month.Months OCTOBER
NOVEMBER
public static final Month.Months NOVEMBER
DECEMBER
public static final Month.Months DECEMBER
values
public static Month.Months[] 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 (Month.Months c : Month.Months.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Month.Months 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 name
NullPointerException
- if the argument is null