public class TDBScale extends Object implements TimeScale
Time used to take account of time dilation when calculating orbits of planets, asteroids, comets and interplanetary spacecraft in the Solar system. It was based on a Dynamical time scale but was not well defined and not rigorously correct as a relativistic time scale. It was subsequently deprecated in favour of Barycentric Coordinate Time (TCB), but at the 2006 General Assembly of the International Astronomical Union TDB was rehabilitated by making it a specific fixed linear transformation of TCB.
By convention, TDB = TT + 0.001658 sin(g) + 0.000014 sin(2g)seconds where g = 357.53 + 0.9856003 (JD - 2451545) degrees.
| Modifier and Type | Method and Description |
|---|---|
double |
getLeap(AbsoluteDate date)
Get the value of the previous leap.
|
String |
getName()
Get the name time scale.
|
boolean |
insideLeap(AbsoluteDate date)
Check if date is within a leap second introduction in this time scale.
|
double |
offsetFromTAI(AbsoluteDate date)
Get the offset to convert locations from
TAIScale to instance. |
double |
offsetToTAI(DateComponents date,
TimeComponents time)
Get the offset to convert locations from instance to
TAIScale. |
String |
toString() |
public double offsetFromTAI(AbsoluteDate date)
TAIScale to instance.offsetFromTAI in interface TimeScaledate - conversion dateTAIScale
time scale to get a location in instance time scaleTimeScale.offsetToTAI(DateComponents, TimeComponents)public double offsetToTAI(DateComponents date, TimeComponents time)
TAIScale.offsetToTAI in interface TimeScaledate - date location in the time scaletime - time location in the time scaleTAIScale time scaleTimeScale.offsetFromTAI(AbsoluteDate)public boolean insideLeap(AbsoluteDate date)
This method will return false for all time scales that do not
implement leap seconds, even if the date corresponds to a leap second
in UTC scale.
insideLeap in interface TimeScaledate - date to checkpublic double getLeap(AbsoluteDate date)
This method will return 0.0 for all time scales that do not implement leap seconds.
public String getName()
Copyright © 2002-2017 CS Systèmes d'information. All rights reserved.