public enum DHXTimeUnits extends java.lang.Enum<DHXTimeUnits>
Enum Constant and Description |
---|
DAY |
DEFAULT |
HOUR |
MINUTE |
MONTH |
WEEK |
YEAR |
Modifier and Type | Method and Description |
---|---|
static DHXTimeUnits |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DHXTimeUnits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DHXTimeUnits DEFAULT
public static final DHXTimeUnits YEAR
public static final DHXTimeUnits MONTH
public static final DHXTimeUnits WEEK
public static final DHXTimeUnits DAY
public static final DHXTimeUnits HOUR
public static final DHXTimeUnits MINUTE
public static DHXTimeUnits[] values()
for (DHXTimeUnits c : DHXTimeUnits.values()) System.out.println(c);
public static DHXTimeUnits 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