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.In addition to the ids listed here, Rinex 4.01 table 23 allowed UTC(BIPM) as a possible UTC id for SBAS. This was added in June 2023 and Rinex 4.01 was officially published in July 2023. However, this was quickly removed, in July 2023, i.e. just after publication of Rinex 4.01, as directed by BIPM. It does not appear anymore in Rinex 4.02 which was officially published in October 2024. Due to its transient appearance in the standard, we decided to not include UTC(BIPM) in this enumerate.
- 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).
-
CRL
public static final UtcId CRL
UTC(CRL).- Since:
- 13.0
-
NIST
public static final UtcId NIST
UTC(NIST).- Since:
- 13.0
-
IRN
public static final UtcId IRN
UTCIRN / UTC(NPLI).
-
OP
public static final UtcId OP
UTC(OP).
-
-
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
-
-