Enum Constant and 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 |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
symbol |
Modifier and Type | Method and 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.
|
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
public static UnitsTime[] values()
for (UnitsTime c : UnitsTime.values()) System.out.println(c);
public static UnitsTime valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static UnitsTime bySymbol(java.lang.String symbol)