public enum DaySchedule extends java.lang.Enum<DaySchedule>
| Enum Constant and Description |
|---|
FRIDAY |
MONDAY |
SATURDAY |
SUNDAY |
THURSDAY |
TUESDAY |
WEDNESDAY |
| Modifier and Type | Method and Description |
|---|---|
static DaySchedule |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DaySchedule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="monday",
alternate="Monday")
public static final DaySchedule MONDAY
@SerializedName(value="tuesday",
alternate="Tuesday")
public static final DaySchedule TUESDAY
@SerializedName(value="wednesday",
alternate="Wednesday")
public static final DaySchedule WEDNESDAY
@SerializedName(value="thursday",
alternate="Thursday")
public static final DaySchedule THURSDAY
@SerializedName(value="friday",
alternate="Friday")
public static final DaySchedule FRIDAY
@SerializedName(value="saturday",
alternate="Saturday")
public static final DaySchedule SATURDAY
@SerializedName(value="sunday",
alternate="Sunday")
public static final DaySchedule SUNDAY
public static DaySchedule[] values()
for (DaySchedule c : DaySchedule.values()) System.out.println(c);
public static DaySchedule 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