Enum Class UtcId

java.lang.Object
java.lang.Enum<UtcId>
org.orekit.files.rinex.navigation.UtcId
All Implemented Interfaces:
Serializable, Comparable<UtcId>, Constable

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
  • Enum Constant Details

    • 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 Details

    • values

      public static UtcId[] 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

      public static UtcId valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getId

      public String getId()
      Get reference ID.
      Returns:
      reference ID
      Since:
      14.0
    • 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