public enum WeeklySchedule extends java.lang.Enum<WeeklySchedule>
Enum Constant and Description |
---|
EVERYDAY
everyday
|
FRIDAY
friday
|
MONDAY
monday
|
SATURDAY
saturday
|
SUNDAY
sunday
|
THURSDAY
thursday
|
TUESDAY
tuesday
|
UNEXPECTED_VALUE
For WeeklySchedule values that were not expected from the service
|
USER_DEFINED
user Defined
|
WEDNESDAY
wednesday
|
Modifier and Type | Method and Description |
---|---|
static WeeklySchedule |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WeeklySchedule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeeklySchedule USER_DEFINED
public static final WeeklySchedule EVERYDAY
public static final WeeklySchedule SUNDAY
public static final WeeklySchedule MONDAY
public static final WeeklySchedule TUESDAY
public static final WeeklySchedule WEDNESDAY
public static final WeeklySchedule THURSDAY
public static final WeeklySchedule FRIDAY
public static final WeeklySchedule SATURDAY
public static final WeeklySchedule UNEXPECTED_VALUE
public static WeeklySchedule[] values()
for (WeeklySchedule c : WeeklySchedule.values()) System.out.println(c);
public static WeeklySchedule 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