public static enum TimeClassBreaksAger.TimeUnits extends java.lang.Enum<TimeClassBreaksAger.TimeUnits>
Enum Constant and Description |
---|
UNIT_DAYS |
UNIT_HOURS |
UNIT_MILLISECONDS |
UNIT_MINUTES |
UNIT_MONTHS |
UNIT_SECONDS |
UNIT_WEEKS |
UNIT_YEARS |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static TimeClassBreaksAger.TimeUnits |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimeClassBreaksAger.TimeUnits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeClassBreaksAger.TimeUnits UNIT_DAYS
public static final TimeClassBreaksAger.TimeUnits UNIT_HOURS
public static final TimeClassBreaksAger.TimeUnits UNIT_MILLISECONDS
public static final TimeClassBreaksAger.TimeUnits UNIT_MINUTES
public static final TimeClassBreaksAger.TimeUnits UNIT_MONTHS
public static final TimeClassBreaksAger.TimeUnits UNIT_SECONDS
public static final TimeClassBreaksAger.TimeUnits UNIT_WEEKS
public static final TimeClassBreaksAger.TimeUnits UNIT_YEARS
public static TimeClassBreaksAger.TimeUnits[] values()
for (TimeClassBreaksAger.TimeUnits c : TimeClassBreaksAger.TimeUnits.values()) System.out.println(c);
public static TimeClassBreaksAger.TimeUnits 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 getValue()