public enum ScheduleItemType extends java.lang.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 |
---|---|
java.lang.String |
getSyntax()
Returns the syntax string.
|
static ScheduleItemType |
valueOf(java.lang.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(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 getSyntax()