public enum CronFieldName extends Enum<CronFieldName>
| Enum Constant and Description |
|---|
DAY_OF_MONTH |
DAY_OF_WEEK |
HOUR |
MINUTE |
MONTH |
SECOND |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder()
Returns the order number that corresponds to the field
|
static CronFieldName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CronFieldName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CronFieldName SECOND
public static final CronFieldName MINUTE
public static final CronFieldName HOUR
public static final CronFieldName DAY_OF_MONTH
public static final CronFieldName MONTH
public static final CronFieldName DAY_OF_WEEK
public static final CronFieldName YEAR
public static CronFieldName[] values()
for (CronFieldName c : CronFieldName.values()) System.out.println(c);
public static CronFieldName 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 int getOrder()
Copyright © 2016. All rights reserved.