org.oddjob.schedules.units
Enum DayOfMonth.Shorthands
java.lang.Object
java.lang.Enum<DayOfMonth.Shorthands>
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
LAST
public static final DayOfMonth.Shorthands LAST
PENULTIMATE
public static final DayOfMonth.Shorthands PENULTIMATE
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