Enum UtcId
- java.lang.Object
-
- java.lang.Enum<UtcId>
-
- org.orekit.files.rinex.navigation.UtcId
-
- All Implemented Interfaces:
Serializable
,Comparable<UtcId>
public enum UtcId extends Enum<UtcId>
Enumerate for the UTC ids.- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UtcId
parseUtcId(String id)
Parse a string to get the UTC id.static UtcId
valueOf(String name)
Returns the enum constant of this type with the specified name.static UtcId[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USNO
public static final UtcId USNO
UTC(USNO).
-
SU
public static final UtcId SU
UTC(SU).
-
GAL
public static final UtcId GAL
UTCGAL.
-
NTSC
public static final UtcId NTSC
UTC(NTSC).
-
NICT
public static final UtcId NICT
UTC(NICT).
-
IRN
public static final UtcId IRN
UTCIRN / UTC(NPLI).
-
OP
public static final UtcId OP
UTC(OP).
-
NIST
public static final UtcId NIST
UTC(NIST).In Rinex 4.00, this entry is not present in table 23, but appears in table A30.
-
-
Method Detail
-
values
public static UtcId[] 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 (UtcId c : UtcId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UtcId valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
parseUtcId
public static UtcId parseUtcId(String id) throws OrekitIllegalArgumentException
Parse a string to get the UTC id.- Parameters:
id
- string to parse- Returns:
- the UTC id
- Throws:
OrekitIllegalArgumentException
- if the string does not correspond to a UTC id
-
-