public enum DayOrder extends java.lang.Enum<DayOrder>
| Enum Constant and Description |
|---|
FIRST
First.
|
FOURTH
Fourth.
|
LAST
Last.
|
SECOND
Second.
|
THIRD
Third.
|
| Modifier and Type | Method and Description |
|---|---|
static DayOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DayOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DayOrder FIRST
public static final DayOrder SECOND
public static final DayOrder THIRD
public static final DayOrder FOURTH
public static final DayOrder LAST
public static DayOrder[] values()
for (DayOrder c : DayOrder.values()) System.out.println(c);
public static DayOrder 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