public enum Precision extends Enum<Precision>
| Enum Constant and Description |
|---|
Day |
Fraction |
Minute |
Month |
Second |
Year |
| Modifier and Type | Method and Description |
|---|---|
static Precision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Precision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Precision Year
public static final Precision Month
public static final Precision Day
public static final Precision Minute
public static final Precision Second
public static final Precision Fraction
public static Precision[] values()
for (Precision c : Precision.values()) System.out.println(c);
public static Precision 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 © 2009–2019 Opencast Project. All rights reserved.