public static enum WeekDay.Day extends java.lang.Enum<WeekDay.Day>
Modifier and Type | Method and Description |
---|---|
static WeekDay.Day |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WeekDay.Day[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeekDay.Day SU
public static final WeekDay.Day MO
public static final WeekDay.Day TU
public static final WeekDay.Day WE
public static final WeekDay.Day TH
public static final WeekDay.Day FR
public static final WeekDay.Day SA
public static WeekDay.Day[] values()
for (WeekDay.Day c : WeekDay.Day.values()) System.out.println(c);
public static WeekDay.Day 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