public class GLONASSDate extends Object implements Serializable, TimeStamped
AbsoluteDate
,
"GLONASS Interface Control Document v1.0, 2016",
Serialized FormConstructor and Description |
---|
GLONASSDate(AbsoluteDate date)
Build an instance from an absolute date.
|
GLONASSDate(AbsoluteDate date,
TimeScale glonass)
Build an instance from an absolute date.
|
GLONASSDate(int na,
int n4,
double secInNa)
Build an instance corresponding to a GLONASS date.
|
GLONASSDate(int na,
int n4,
double secInNa,
TimeScale glonass)
Build an instance corresponding to a GLONASS date.
|
Modifier and Type | Method and Description |
---|---|
AbsoluteDate |
getDate()
Get the date.
|
int |
getDayNumber()
Get the number of the current day in a four year interval.
|
double |
getGMST()
Get the Greenwich Mean Sidereal Time.
|
int |
getIntervalNumber()
Get the number of the current four year interval.
|
double |
getJD0()
Get the current Julian date JD0.
|
double |
getSecInDay()
Get the number of seconds since Na start.
|
@DefaultDataContext public GLONASSDate(int na, int n4, double secInNa)
This method uses the default data context
.
na
- the number of the current day in a four year intervaln4
- the number of the current four year intervalsecInNa
- the number of seconds since na startGLONASSDate(int, int, double, TimeScale)
public GLONASSDate(int na, int n4, double secInNa, TimeScale glonass)
na
- the number of the current day in a four year intervaln4
- the number of the current four year intervalsecInNa
- the number of seconds since na startglonass
- time scale.@DefaultDataContext public GLONASSDate(AbsoluteDate date)
This method uses the default data context
.
date
- absolute date to considerGLONASSDate(AbsoluteDate, TimeScale)
public GLONASSDate(AbsoluteDate date, TimeScale glonass)
date
- absolute date to considerglonass
- time scale.public AbsoluteDate getDate()
TimeStamped
getDate
in interface TimeStamped
public double getSecInDay()
public int getDayNumber()
public int getIntervalNumber()
public double getJD0()
public double getGMST()
Copyright © 2002-2020 CS GROUP. All rights reserved.