public static enum Utils.DurationFormatPrecision extends Enum<Utils.DurationFormatPrecision>
| Enum Constant and Description |
|---|
DAY |
HOUR |
MILLISECOND |
MINUTE |
SECOND |
| Modifier and Type | Method and Description |
|---|---|
static Utils.DurationFormatPrecision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Utils.DurationFormatPrecision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Utils.DurationFormatPrecision DAY
public static final Utils.DurationFormatPrecision HOUR
public static final Utils.DurationFormatPrecision MINUTE
public static final Utils.DurationFormatPrecision SECOND
public static final Utils.DurationFormatPrecision MILLISECOND
public static Utils.DurationFormatPrecision[] values()
for (Utils.DurationFormatPrecision c : Utils.DurationFormatPrecision.values()) System.out.println(c);
public static Utils.DurationFormatPrecision 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 nullCopyright © 2013. All Rights Reserved.