public enum UnitsOfTime extends Enum<UnitsOfTime>
Java class for Units_of_Time.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Units_of_Time">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="day"/>
<enumeration value="hr"/>
<enumeration value="julian day"/>
<enumeration value="microseconds"/>
<enumeration value="min"/>
<enumeration value="ms"/>
<enumeration value="ns"/>
<enumeration value="s"/>
<enumeration value="yr"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DAY |
HR |
JULIAN_DAY |
MICROSECONDS |
MIN |
MS |
NS |
S |
YR |
| Modifier and Type | Method and Description |
|---|---|
static UnitsOfTime |
fromValue(String v) |
String |
value() |
static UnitsOfTime |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitsOfTime[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitsOfTime DAY
public static final UnitsOfTime HR
public static final UnitsOfTime JULIAN_DAY
public static final UnitsOfTime MICROSECONDS
public static final UnitsOfTime MIN
public static final UnitsOfTime MS
public static final UnitsOfTime NS
public static final UnitsOfTime S
public static final UnitsOfTime YR
public static UnitsOfTime[] values()
for (UnitsOfTime c : UnitsOfTime.values()) System.out.println(c);
public static UnitsOfTime 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 String value()
public static UnitsOfTime fromValue(String v)
Copyright © 2021. All rights reserved.