public static enum RMCondition.DateConstraint extends java.lang.Enum<RMCondition.DateConstraint>
Enum Constant and Description |
---|
Day |
Hour |
Minute |
Month |
Second |
Week |
Year |
Modifier and Type | Method and Description |
---|---|
static RMCondition.DateConstraint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RMCondition.DateConstraint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMCondition.DateConstraint Second
public static final RMCondition.DateConstraint Minute
public static final RMCondition.DateConstraint Hour
public static final RMCondition.DateConstraint Day
public static final RMCondition.DateConstraint Week
public static final RMCondition.DateConstraint Month
public static final RMCondition.DateConstraint Year
public static RMCondition.DateConstraint[] values()
for (RMCondition.DateConstraint c : RMCondition.DateConstraint.values()) System.out.println(c);
public static RMCondition.DateConstraint 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 null