public enum UnitsTime extends Enum<UnitsTime> implements Enumeration
Enum Constant and Description |
---|
ATTOSECOND
attosecond SI unit.
|
CENTISECOND
centisecond SI unit.
|
DAY
day SI-derived unit.
|
DECASECOND
decasecond SI unit.
|
DECISECOND
decisecond SI unit.
|
EXASECOND
exasecond SI unit.
|
FEMTOSECOND
femtosecond SI unit.
|
GIGASECOND
gigasecond SI unit.
|
HECTOSECOND
hectosecond SI unit.
|
HOUR
hour SI-derived unit.
|
KILOSECOND
kilosecond SI unit.
|
MEGASECOND
megasecond SI unit.
|
MICROSECOND
microsecond SI unit.
|
MILLISECOND
millisecond SI unit.
|
MINUTE
minute SI-derived unit.
|
NANOSECOND
nanosecond SI unit.
|
PETASECOND
petasecond SI unit.
|
PICOSECOND
picosecond SI unit.
|
SECOND
second SI unit.
|
TERASECOND
terasecond SI unit.
|
YOCTOSECOND
yoctosecond SI unit.
|
YOTTASECOND
yottasecond SI unit.
|
ZEPTOSECOND
zeptosecond SI unit.
|
ZETTASECOND
zettasecond SI unit.
|
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 YOTTASECOND
public static final UnitsTime ZETTASECOND
public static final UnitsTime EXASECOND
public static final UnitsTime PETASECOND
public static final UnitsTime TERASECOND
public static final UnitsTime GIGASECOND
public static final UnitsTime MEGASECOND
public static final UnitsTime KILOSECOND
public static final UnitsTime HECTOSECOND
public static final UnitsTime DECASECOND
public static final UnitsTime SECOND
public static final UnitsTime DECISECOND
public static final UnitsTime CENTISECOND
public static final UnitsTime MILLISECOND
public static final UnitsTime MICROSECOND
public static final UnitsTime NANOSECOND
public static final UnitsTime PICOSECOND
public static final UnitsTime FEMTOSECOND
public static final UnitsTime ATTOSECOND
public static final UnitsTime ZEPTOSECOND
public static final UnitsTime YOCTOSECOND
public static final UnitsTime MINUTE
public static final UnitsTime HOUR
public static final UnitsTime DAY
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 © 2016 Open Microscopy Environment