public abstract class AbstractTimeScales extends Object implements TimeScales
TimeScales
that implements some common functionality.Constructor and Description |
---|
AbstractTimeScales()
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
AbsoluteDate |
createBesselianEpoch(double besselianEpoch)
Build an instance corresponding to a Besselian Epoch (BE).
|
AbsoluteDate |
createJulianEpoch(double julianEpoch)
Build an instance corresponding to a Julian Epoch (JE).
|
AbsoluteDate |
getBeidouEpoch()
Reference epoch for BeiDou weeks: 2006-01-01T00:00:00 UTC.
|
AbsoluteDate |
getCcsdsEpoch()
Reference epoch for CCSDS Time Code Format (CCSDS 301.0-B-4): 1958-01-01T00:00:00
International Atomic Time (not UTC).
|
protected abstract EOPHistory |
getEopHistory(IERSConventions conventions,
boolean simpleEOP)
Get the EOP history for the given conventions.
|
AbsoluteDate |
getFiftiesEpoch()
Reference epoch for 1950 dates: 1950-01-01T00:00:00 Terrestrial Time.
|
AbsoluteDate |
getFutureInfinity()
Dummy date at infinity in the future direction.
|
AbsoluteDate |
getGalileoEpoch()
Reference epoch for Galileo System Time: 1999-08-22T00:00:00 GST.
|
AbsoluteDate |
getGlonassEpoch()
Reference epoch for GLONASS four-year interval number: 1996-01-01T00:00:00 GLONASS
time.
|
GMSTScale |
getGMST(IERSConventions conventions,
boolean simpleEOP)
Get the Greenwich Mean Sidereal Time scale.
|
AbsoluteDate |
getGpsEpoch()
Reference epoch for GPS weeks: 1980-01-06T00:00:00 GPS time.
|
AbsoluteDate |
getIrnssEpoch()
Reference epoch for IRNSS weeks: 1999-08-22T00:00:00 IRNSS time.
|
AbsoluteDate |
getJ2000Epoch()
J2000.0 Reference epoch: 2000-01-01T12:00:00 Terrestrial Time (not UTC).
|
AbsoluteDate |
getJavaEpoch()
Java Reference epoch: 1970-01-01T00:00:00 Universal Time Coordinate.
|
AbsoluteDate |
getJulianEpoch()
Reference epoch for julian dates: -4712-01-01T12:00:00 Terrestrial Time.
|
AbsoluteDate |
getModifiedJulianEpoch()
Reference epoch for modified julian dates: 1858-11-17T00:00:00 Terrestrial Time.
|
AbsoluteDate |
getPastInfinity()
Dummy date at infinity in the past direction.
|
AbsoluteDate |
getQzssEpoch()
Reference epoch for QZSS weeks: 1980-01-06T00:00:00 QZSS time.
|
protected UT1Scale |
getUT1(EOPHistory history)
Get the Universal Time 1 scale.
|
UT1Scale |
getUT1(IERSConventions conventions,
boolean simpleEOP)
Get the Universal Time 1 scale.
|
protected UT1Scale getUT1(EOPHistory history)
As this method allow associating any history with the time scale, it may involve
large data sets. So this method does not cache the resulting UT1Scale
instance, a new instance will be returned each time. In order to
avoid wasting memory, calling getUT1(IERSConventions, boolean)
with the
single enumerate corresponding to the conventions may be a better solution. This
method is made available only for expert use.
history
- EOP parameters providing dUT1 (may be null if no correction is
desired)getUT1(IERSConventions, boolean)
protected abstract EOPHistory getEopHistory(IERSConventions conventions, boolean simpleEOP)
conventions
- to use in computing the EOP history.simpleEOP
- whether to ignore some small tidal effects.public UT1Scale getUT1(IERSConventions conventions, boolean simpleEOP)
TimeScales
getUT1
in interface TimeScales
conventions
- IERS conventions for which EOP parameters will provide dUT1simpleEOP
- if true, tidal effects are ignored when interpolating EOPTimeScales.getUTC()
,
Frames.getEOPHistory(IERSConventions, boolean)
public GMSTScale getGMST(IERSConventions conventions, boolean simpleEOP)
TimeScales
getGMST
in interface TimeScales
conventions
- IERS conventions for which EOP parameters will provide dUT1simpleEOP
- if true, tidal effects are ignored when interpolating EOPpublic AbsoluteDate getJulianEpoch()
TimeScales
Both java.util.Date
and DateComponents
classes
follow the astronomical conventions and consider a year 0 between years -1 and +1,
hence this reference date lies in year -4712 and not in year -4713 as can be seen
in other documents or programs that obey a different convention (for example the
convcal
utility).
getJulianEpoch
in interface TimeScales
public AbsoluteDate getModifiedJulianEpoch()
TimeScales
getModifiedJulianEpoch
in interface TimeScales
public AbsoluteDate getFiftiesEpoch()
TimeScales
getFiftiesEpoch
in interface TimeScales
public AbsoluteDate getCcsdsEpoch()
TimeScales
getCcsdsEpoch
in interface TimeScales
public AbsoluteDate getGalileoEpoch()
TimeScales
getGalileoEpoch
in interface TimeScales
public AbsoluteDate getGpsEpoch()
TimeScales
getGpsEpoch
in interface TimeScales
public AbsoluteDate getQzssEpoch()
TimeScales
getQzssEpoch
in interface TimeScales
public AbsoluteDate getIrnssEpoch()
TimeScales
getIrnssEpoch
in interface TimeScales
public AbsoluteDate getBeidouEpoch()
TimeScales
getBeidouEpoch
in interface TimeScales
public AbsoluteDate getGlonassEpoch()
TimeScales
By convention, TGLONASS = UTC + 3 hours.
getGlonassEpoch
in interface TimeScales
public AbsoluteDate getJ2000Epoch()
TimeScales
getJ2000Epoch
in interface TimeScales
AbsoluteDate.createJulianEpoch(double)
,
AbsoluteDate.createBesselianEpoch(double)
public AbsoluteDate getJavaEpoch()
TimeScales
Between 1968-02-01 and 1972-01-01, UTC-TAI = 4.213 170 0s + (MJD - 39 126) x 0.002 592s. As on 1970-01-01 MJD = 40587, UTC-TAI = 8.000082s
getJavaEpoch
in interface TimeScales
public AbsoluteDate getPastInfinity()
TimeScales
getPastInfinity
in interface TimeScales
public AbsoluteDate getFutureInfinity()
TimeScales
getFutureInfinity
in interface TimeScales
public AbsoluteDate createJulianEpoch(double julianEpoch)
TimeScales
According to Lieske paper: Precession Matrix Based on IAU (1976) System of Astronomical Constants, Astronomy and Astrophysics, vol. 73, no. 3, Mar. 1979, p. 282-284, Julian Epoch is related to Julian Ephemeris Date as:
JE = 2000.0 + (JED - 2451545.0) / 365.25
This method reverts the formula above and computes an AbsoluteDate
from the
Julian Epoch.
createJulianEpoch
in interface TimeScales
julianEpoch
- Julian epoch, like 2000.0 for defining the classical reference
J2000.0TimeScales.getJ2000Epoch()
,
TimeScales.createBesselianEpoch(double)
public AbsoluteDate createBesselianEpoch(double besselianEpoch)
TimeScales
According to Lieske paper: Precession Matrix Based on IAU (1976) System of Astronomical Constants, Astronomy and Astrophysics, vol. 73, no. 3, Mar. 1979, p. 282-284, Besselian Epoch is related to Julian Ephemeris Date as:
BE = 1900.0 + (JED - 2415020.31352) / 365.242198781
This method reverts the formula above and computes an AbsoluteDate
from the
Besselian Epoch.
createBesselianEpoch
in interface TimeScales
besselianEpoch
- Besselian epoch, like 1950 for defining the classical
reference B1950.0TimeScales.createJulianEpoch(double)
Copyright © 2002-2020 CS GROUP. All rights reserved.