public enum ScheduleItemType extends Enum<ScheduleItemType>
Enum Constant and Description |
---|
LASTDAY
Last day of week or month.
|
LASTWEEKDAY
Last weekday in a month
|
WEEKDAY
Weekday (nearest to a date)
|
WILDCARD
Wildcard means any value.
|
Modifier and Type | Method and Description |
---|---|
String |
getSyntax()
Returns the syntax string.
|
static ScheduleItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScheduleItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScheduleItemType WILDCARD
public static final ScheduleItemType LASTDAY
public static final ScheduleItemType WEEKDAY
public static final ScheduleItemType LASTWEEKDAY
public static ScheduleItemType[] values()
for (ScheduleItemType c : ScheduleItemType.values()) System.out.println(c);
public static ScheduleItemType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getSyntax()