public static enum DayOfWeek.Days extends java.lang.Enum<DayOfWeek.Days> implements DayOfWeek
DayOfWeek.Conversions, DayOfWeek.Days
Enum Constant and Description |
---|
FRIDAY |
MONDAY |
SATURDAY |
SUNDAY |
THURSDAY |
TUESDAY |
WEDNESDAY |
Modifier and Type | Method and Description |
---|---|
static DayOfWeek.Days |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DayOfWeek.Days[] |
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 DayOfWeek.Days MONDAY
public static final DayOfWeek.Days TUESDAY
public static final DayOfWeek.Days WEDNESDAY
public static final DayOfWeek.Days THURSDAY
public static final DayOfWeek.Days FRIDAY
public static final DayOfWeek.Days SATURDAY
public static final DayOfWeek.Days SUNDAY
public static DayOfWeek.Days[] values()
for (DayOfWeek.Days c : DayOfWeek.Days.values()) System.out.println(c);
public static DayOfWeek.Days 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