public enum WeekdaysEnum extends java.lang.Enum<WeekdaysEnum>
Enum Constant and Description |
---|
FRIDAY |
MONDAY |
NONE |
SATURDAY |
SUNDAY |
THURSDAY |
TUESDAY |
WEDNESDAY |
Modifier and Type | Method and Description |
---|---|
static WeekdaysEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WeekdaysEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeekdaysEnum NONE
public static final WeekdaysEnum MONDAY
public static final WeekdaysEnum TUESDAY
public static final WeekdaysEnum WEDNESDAY
public static final WeekdaysEnum THURSDAY
public static final WeekdaysEnum FRIDAY
public static final WeekdaysEnum SATURDAY
public static final WeekdaysEnum SUNDAY
public static WeekdaysEnum[] values()
for (WeekdaysEnum c : WeekdaysEnum.values()) System.out.println(c);
public static WeekdaysEnum 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