public enum UnitsTime extends Enum<UnitsTime> implements Enumeration
Enum Constant and Description |
---|
AS |
CS |
D |
DAS |
DS |
EXAS |
FS |
GIGAS |
H |
HS |
KS |
MEGAS |
MICROS |
MIN |
MS |
NS |
PETAS |
PS |
S |
TERAS |
YOTTAS |
YS |
ZETTAS |
ZS |
Modifier and Type | Method and Description |
---|---|
static <T extends Number> |
create(T newValue,
UnitsTime newUnit) |
static <T extends PrimitiveNumber> |
create(T newValue,
UnitsTime newUnit) |
static UnitsTime |
fromString(String value) |
String |
getValue() |
String |
toString() |
static UnitsTime |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitsTime[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitsTime YOTTAS
public static final UnitsTime ZETTAS
public static final UnitsTime EXAS
public static final UnitsTime PETAS
public static final UnitsTime TERAS
public static final UnitsTime GIGAS
public static final UnitsTime MEGAS
public static final UnitsTime KS
public static final UnitsTime HS
public static final UnitsTime DAS
public static final UnitsTime S
public static final UnitsTime DS
public static final UnitsTime CS
public static final UnitsTime MS
public static final UnitsTime MICROS
public static final UnitsTime NS
public static final UnitsTime PS
public static final UnitsTime FS
public static final UnitsTime AS
public static final UnitsTime ZS
public static final UnitsTime YS
public static final UnitsTime MIN
public static final UnitsTime H
public static final UnitsTime D
private final String value
public static UnitsTime[] values()
for (UnitsTime c : UnitsTime.values()) System.out.println(c);
public static UnitsTime 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 nullpublic static UnitsTime fromString(String value) throws EnumerationException
EnumerationException
public String getValue()
public static <T extends PrimitiveNumber> Time create(T newValue, UnitsTime newUnit)
Copyright © 2015 Open Microscopy Environment