org.oddjob.schedules.units
Enum DayOfMonth.Shorthands

java.lang.Object
  extended by java.lang.Enum<DayOfMonth.Shorthands>
      extended by org.oddjob.schedules.units.DayOfMonth.Shorthands
All Implemented Interfaces:
Serializable, Comparable<DayOfMonth.Shorthands>, DayOfMonth
Enclosing interface:
DayOfMonth

public static enum DayOfMonth.Shorthands
extends Enum<DayOfMonth.Shorthands>
implements DayOfMonth


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.oddjob.schedules.units.DayOfMonth
DayOfMonth.Conversions, DayOfMonth.Number, DayOfMonth.Shorthands
 
Enum Constant Summary
LAST
           
PENULTIMATE
           
 
Method Summary
static DayOfMonth.Shorthands valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DayOfMonth.Shorthands[] 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.DayOfMonth
getDayNumber
 

Enum Constant Detail

LAST

public static final DayOfMonth.Shorthands LAST

PENULTIMATE

public static final DayOfMonth.Shorthands PENULTIMATE
Method Detail

values

public static DayOfMonth.Shorthands[] 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 (DayOfMonth.Shorthands c : DayOfMonth.Shorthands.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DayOfMonth.Shorthands 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