public enum UnitsTime extends Enum<UnitsTime> implements UnitEnum
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 | Method and Description |
---|---|
static UnitsTime |
bySymbol(String symbol) |
String |
getSymbol() |
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
protected String symbol
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 null
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.