Enum Class TimeScale

java.lang.Object
java.lang.Enum<TimeScale>
gaiasky.util.gaia.time.TimeScale
All Implemented Interfaces:
Serializable, Comparable<TimeScale>, Constable

public enum TimeScale extends Enum<TimeScale>
  • Enum Constant Details

    • TG

      public static final TimeScale TG
      Gaia's proper Time "Temp de Gaia"
    • TCB

      public static final TimeScale TCB
      Barycentric Coordinate Time
    • TT

      public static final TimeScale TT
      Terrestrial Time
    • TDB

      public static final TimeScale TDB
      Barycentric Dynamical Time
    • TCG

      public static final TimeScale TCG
      Geocentric Coordinate Time
    • UTC

      public static final TimeScale UTC
      Coordinated Universal Time
    • TAI

      public static final TimeScale TAI
      International Atomic Time
    • GPS

      public static final TimeScale GPS
      GPS time
    • UNKNOWN

      public static final TimeScale UNKNOWN
      Embrace the unknown
  • Method Details

    • values

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