Package org.orekit.time
Class TDBScale
- java.lang.Object
-
- org.orekit.time.TDBScale
-
- All Implemented Interfaces:
Serializable
,TimeScale
public class TDBScale extends Object implements TimeScale
Barycentric Dynamic Time.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.
- Author:
- Aude Privat
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Get the name time scale.TimeOffset
offsetFromTAI(AbsoluteDate date)
Get the offset to convert locations fromTAIScale
to instance.<T extends CalculusFieldElement<T>>
ToffsetFromTAI(FieldAbsoluteDate<T> date)
Get the offset to convert locations fromTAIScale
to instance.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.orekit.time.TimeScale
getLeap, getLeap, insideLeap, insideLeap, minuteDuration, minuteDuration, offsetToTAI
-
-
-
-
Method Detail
-
offsetFromTAI
public TimeOffset offsetFromTAI(AbsoluteDate date)
Get the offset to convert locations fromTAIScale
to instance.- Specified by:
offsetFromTAI
in interfaceTimeScale
- Parameters:
date
- conversion date- Returns:
- offset in seconds to add to a location in
TAIScale
time scale to get a location in instance time scale - See Also:
TimeScale.offsetToTAI(DateComponents, TimeComponents)
-
offsetFromTAI
public <T extends CalculusFieldElement<T>> T offsetFromTAI(FieldAbsoluteDate<T> date)
Get the offset to convert locations fromTAIScale
to instance.- Specified by:
offsetFromTAI
in interfaceTimeScale
- Type Parameters:
T
- type of the filed elements- Parameters:
date
- conversion date- Returns:
- offset in seconds to add to a location in
TAIScale
time scale to get a location in instance time scale - See Also:
TimeScale.offsetToTAI(DateComponents, TimeComponents)
-
getName
public String getName()
Get the name time scale.
-
-