public static enum ScheduleModel.DayOfWeek extends java.lang.Enum<ScheduleModel.DayOfWeek>
Enum Constant and Description |
---|
Friday |
Monday |
Saturday |
Sunday |
Thursday |
Tuesday |
Wednesday |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Return the allowed numeric CRON value, which is the ordinal as a String.
|
static ScheduleModel.DayOfWeek |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScheduleModel.DayOfWeek[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScheduleModel.DayOfWeek Sunday
public static final ScheduleModel.DayOfWeek Monday
public static final ScheduleModel.DayOfWeek Tuesday
public static final ScheduleModel.DayOfWeek Wednesday
public static final ScheduleModel.DayOfWeek Thursday
public static final ScheduleModel.DayOfWeek Friday
public static final ScheduleModel.DayOfWeek Saturday
public static ScheduleModel.DayOfWeek[] values()
for (ScheduleModel.DayOfWeek c : ScheduleModel.DayOfWeek.values()) System.out.println(c);
public static ScheduleModel.DayOfWeek 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<ScheduleModel.DayOfWeek>