public enum CronOperatorEnum extends Enum<CronOperatorEnum>
Enum Constant and Description |
---|
LASTDAY
Last day of week or month.
|
LASTWEEKDAY
Last weekday in a month
|
WEEKDAY
Weekday (nearest to a date)
|
Modifier and Type | Method and Description |
---|---|
String |
getSyntax()
Returns the syntax string for the operator.
|
static CronOperatorEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CronOperatorEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CronOperatorEnum LASTDAY
public static final CronOperatorEnum WEEKDAY
public static final CronOperatorEnum LASTWEEKDAY
public static CronOperatorEnum[] values()
for (CronOperatorEnum c : CronOperatorEnum.values()) System.out.println(c);
public static CronOperatorEnum 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()