public static enum DayOfMonth.Shorthands extends java.lang.Enum<DayOfMonth.Shorthands> implements DayOfMonth
DayOfMonth.Conversions, DayOfMonth.Number, DayOfMonth.Shorthands
Enum Constant and Description |
---|
LAST |
PENULTIMATE |
Modifier and Type | Method and Description |
---|---|
static DayOfMonth.Shorthands |
valueOf(java.lang.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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getDayNumber
public static final DayOfMonth.Shorthands LAST
public static final DayOfMonth.Shorthands PENULTIMATE
public static DayOfMonth.Shorthands[] values()
for (DayOfMonth.Shorthands c : DayOfMonth.Shorthands.values()) System.out.println(c);
public static DayOfMonth.Shorthands valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null