Enum Class TimeSystem

java.lang.Object
java.lang.Enum<TimeSystem>
org.orekit.files.ccsds.definitions.TimeSystem
All Implemented Interfaces:
Serializable, Comparable<TimeSystem>, Constable

public enum TimeSystem extends Enum<TimeSystem>
The set of time systems defined in CCSDS standards (ADM, ODM, NDM).
Author:
Evan Ward
  • Enum Constant Details

    • GMST

      public static final TimeSystem GMST
      Greenwich Mean Sidereal Time.
    • GPS

      public static final TimeSystem GPS
      Global Positioning System.
    • MET

      public static final TimeSystem MET
      Mission Elapsed Time.
    • MRT

      public static final TimeSystem MRT
      Mission Relative Time.
    • SCLK

      public static final TimeSystem SCLK
      Spacecraft Clock.
    • TAI

      public static final TimeSystem TAI
      International Atomic Time.
    • TCB

      public static final TimeSystem TCB
      Barycentric Coordinate Time.
    • TDB

      public static final TimeSystem TDB
      Barycentric Dynamical Time.
    • TCG

      public static final TimeSystem TCG
      Geocentric Coordinate Time.
    • TT

      public static final TimeSystem TT
      Terrestrial Time.
    • UT1

      public static final TimeSystem UT1
      Universal Time.
    • UTC

      public static final TimeSystem UTC
      Universal Coordinated Time.
  • Method Details

    • values

      public static TimeSystem[] 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 TimeSystem 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
    • getConverter

      public abstract TimeConverter getConverter(ContextBinding context)
      Get associated TimeConverter.
      Parameters:
      context - context binding
      Returns:
      time system for reading/writing date
      Since:
      11.0
    • parse

      public static TimeSystem parse(String value)
      Parse a value from a key=value entry.
      Parameters:
      value - value to parse
      Returns:
      CCSDS time system corresponding to the value