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 |
---|---|
String |
getName()
Get the name 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 . |
static void |
setModel(TDBModel modelIn)
Set the TDB model.
|
String |
toString() |
public double offsetFromTAI(AbsoluteDate date)
TAIScale
to instance.offsetFromTAI
in interface TimeScale
date
- 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 TimeScale
date
- date location in the time scaletime
- time location in the time scaleTAIScale
time scaleTimeScale.offsetFromTAI(AbsoluteDate)
public String getName()
public static void setModel(TDBModel modelIn)
modelIn
- the TDB model to setCopyright © 2023 CNES. All rights reserved.