Class GLONASSDate

java.lang.Object
org.orekit.time.GLONASSDate
All Implemented Interfaces:
TimeStamped

public class GLONASSDate extends Object implements TimeStamped
Container for date in GLONASS form.
Since:
10.0
Author:
Bryan Cazabonne
See Also:
  • AbsoluteDate
  • "GLONASS Interface Control Document v1.0, 2016"
  • Constructor Details

    • GLONASSDate

      @DefaultDataContext public GLONASSDate(int na, int n4, double secInNa)
      Build an instance corresponding to a GLONASS date.

      This method uses the default data context.

      Parameters:
      na - the number of the current day in a four year interval
      n4 - the number of the current four year interval
      secInNa - the number of seconds since na start
      See Also:
    • GLONASSDate

      public GLONASSDate(int na, int n4, double secInNa, TimeScale glonass)
      Build an instance corresponding to a GLONASS date.
      Parameters:
      na - the number of the current day in a four year interval
      n4 - the number of the current four year interval
      secInNa - the number of seconds since na start
      glonass - time scale.
      Since:
      10.1
    • GLONASSDate

      @DefaultDataContext public GLONASSDate(AbsoluteDate date)
      Build an instance from an absolute date.

      This method uses the default data context.

      Parameters:
      date - absolute date to consider
      See Also:
    • GLONASSDate

      public GLONASSDate(AbsoluteDate date, TimeScale glonass)
      Build an instance from an absolute date.
      Parameters:
      date - absolute date to consider
      glonass - time scale.
      Since:
      10.1
  • Method Details

    • getDate

      public AbsoluteDate getDate()
      Description copied from interface: TimeStamped
      Get the date.
      Specified by:
      getDate in interface TimeStamped
      Returns:
      date attached to the object
    • getSecInDay

      public double getSecInDay()
      Get the number of seconds since Na start.
      Returns:
      number of seconds since Na start
    • getDayNumber

      public int getDayNumber()
      Get the number of the current day in a four year interval.
      Returns:
      the number of the current day in a four year interval
    • getIntervalNumber

      public int getIntervalNumber()
      Get the number of the current four year interval.
      Returns:
      the number of the current four year interval
    • getJD0

      public double getJD0()
      Get the current Julian date JD0.
      Returns:
      the current date JD0
    • getGMST

      public double getGMST()
      Get the Greenwich Mean Sidereal Time.
      Returns:
      the Greenwich Mean Sidereal Time (rad)