org.oddjob.schedules.units
Enum Month.Months

java.lang.Object
  extended by java.lang.Enum<Month.Months>
      extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.oddjob.schedules.units.Month
Month.Conversions, Month.Months
 
Enum Constant Summary
APRIL
           
AUGUST
           
DECEMBER
           
FEBRUARY
           
JANUARY
           
JULY
           
JUNE
           
MARCH
           
MAY
           
NOVEMBER
           
OCTOBER
           
SEPTEMBER
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.oddjob.schedules.units.Month
getMonthNumber
 

Enum Constant Detail

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
Method Detail

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