public enum UnitsOfTime extends java.lang.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(java.lang.String v) |
java.lang.String |
value() |
static UnitsOfTime |
valueOf(java.lang.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(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 java.lang.String value()
public static UnitsOfTime fromValue(java.lang.String v)
Copyright © 2023 Planetary Data System. All rights reserved.