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