Package ome.model.enums
Enum UnitsTime
- java.lang.Object
-
- java.lang.Enum<UnitsTime>
-
- ome.model.enums.UnitsTime
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTOSECOND
CENTISECOND
DAY
DECASECOND
DECISECOND
EXASECOND
FEMTOSECOND
GIGASECOND
HECTOSECOND
HOUR
KILOSECOND
MEGASECOND
MICROSECOND
MILLISECOND
MINUTE
NANOSECOND
PETASECOND
PICOSECOND
SECOND
TERASECOND
YOCTOSECOND
YOTTASECOND
ZEPTOSECOND
ZETTASECOND
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
symbol
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnitsTime
bySymbol(java.lang.String symbol)
java.lang.String
getSymbol()
static UnitsTime
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
YOTTASECOND
public static final UnitsTime YOTTASECOND
-
ZETTASECOND
public static final UnitsTime ZETTASECOND
-
EXASECOND
public static final UnitsTime EXASECOND
-
PETASECOND
public static final UnitsTime PETASECOND
-
TERASECOND
public static final UnitsTime TERASECOND
-
GIGASECOND
public static final UnitsTime GIGASECOND
-
MEGASECOND
public static final UnitsTime MEGASECOND
-
KILOSECOND
public static final UnitsTime KILOSECOND
-
HECTOSECOND
public static final UnitsTime HECTOSECOND
-
DECASECOND
public static final UnitsTime DECASECOND
-
SECOND
public static final UnitsTime SECOND
-
DECISECOND
public static final UnitsTime DECISECOND
-
CENTISECOND
public static final UnitsTime CENTISECOND
-
MILLISECOND
public static final UnitsTime MILLISECOND
-
MICROSECOND
public static final UnitsTime MICROSECOND
-
NANOSECOND
public static final UnitsTime NANOSECOND
-
PICOSECOND
public static final UnitsTime PICOSECOND
-
FEMTOSECOND
public static final UnitsTime FEMTOSECOND
-
ATTOSECOND
public static final UnitsTime ATTOSECOND
-
ZEPTOSECOND
public static final UnitsTime ZEPTOSECOND
-
YOCTOSECOND
public static final UnitsTime YOCTOSECOND
-
MINUTE
public static final UnitsTime MINUTE
-
HOUR
public static final UnitsTime HOUR
-
DAY
public static final UnitsTime DAY
-
-
Method Detail
-
values
public static UnitsTime[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UnitsTime c : UnitsTime.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnitsTime valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
bySymbol
public static UnitsTime bySymbol(java.lang.String symbol)
-
-