Enum Class UtcId
- All Implemented Interfaces:
Serializable,Comparable<UtcId>,Constable
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetId()Get reference ID.static UtcIdparseUtcId(String id) Parse a string to get the UTC id.static UtcIdReturns the enum constant of this class with the specified name.static UtcId[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USNO
UTC(USNO). -
SU
UTC(SU). -
GAL
UTCGAL. -
NTSC
UTC(NTSC). -
NICT
UTC(NICT). -
CRL
UTC(CRL).- Since:
- 13.0
-
NIST
UTC(NIST).- Since:
- 13.0
-
IRN
UTCIRN / UTC(NPLI). -
OP
UTC(OP).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getId
Get reference ID.- Returns:
- reference ID
- Since:
- 14.0
-
parseUtcId
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
-