Package ome.xml.model.enums
Enum Class UnitsTime
- All Implemented Interfaces:
Serializable,Comparable<UnitsTime>,Constable,Enumeration
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionattosecond SI unit.centisecond SI unit.day SI-derived unit.decasecond SI unit.decisecond SI unit.exasecond SI unit.femtosecond SI unit.gigasecond SI unit.hectosecond SI unit.hour SI-derived unit.kilosecond SI unit.megasecond SI unit.microsecond SI unit.millisecond SI unit.minute SI-derived unit.nanosecond SI unit.petasecond SI unit.picosecond SI unit.second SI unit.terasecond SI unit.yoctosecond SI unit.yottasecond SI unit.zeptosecond SI unit.zettasecond SI unit. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends PrimitiveNumber>
Timestatic UnitsTimefromString(String value) getValue()toString()static UnitsTimeReturns the enum constant of this class with the specified name.static UnitsTime[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
YOTTASECOND
yottasecond SI unit. -
ZETTASECOND
zettasecond SI unit. -
EXASECOND
exasecond SI unit. -
PETASECOND
petasecond SI unit. -
TERASECOND
terasecond SI unit. -
GIGASECOND
gigasecond SI unit. -
MEGASECOND
megasecond SI unit. -
KILOSECOND
kilosecond SI unit. -
HECTOSECOND
hectosecond SI unit. -
DECASECOND
decasecond SI unit. -
SECOND
second SI unit. -
DECISECOND
decisecond SI unit. -
CENTISECOND
centisecond SI unit. -
MILLISECOND
millisecond SI unit. -
MICROSECOND
microsecond SI unit. -
NANOSECOND
nanosecond SI unit. -
PICOSECOND
picosecond SI unit. -
FEMTOSECOND
femtosecond SI unit. -
ATTOSECOND
attosecond SI unit. -
ZEPTOSECOND
zeptosecond SI unit. -
YOCTOSECOND
yoctosecond SI unit. -
MINUTE
minute SI-derived unit. -
HOUR
hour SI-derived unit. -
DAY
day SI-derived unit.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
- Throws:
EnumerationException
-
getValue
-
toString
-
create
-
create
-