Package org.orekit.time
Class TCGScale
- java.lang.Object
-
- org.orekit.time.TCGScale
-
- All Implemented Interfaces:
Serializable,TimeScale
public class TCGScale extends Object implements TimeScale
Geocentric Coordinate Time.Coordinate time at the center of mass of the Earth. This time scale depends linearly from
Terrestrial Time.This is intended to be accessed thanks to
TimeScales, so there is no public constructor.- Author:
- Luc Maisonobe
- See Also:
AbsoluteDate, Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Get the name time scale.doubleoffsetFromTAI(AbsoluteDate date)Get the offset to convert locations fromTAIScaleto instance.<T extends CalculusFieldElement<T>>
ToffsetFromTAI(FieldAbsoluteDate<T> date)Get the offset to convert locations fromTAIScaleto instance.StringtoString()-
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 double offsetFromTAI(AbsoluteDate date)
Get the offset to convert locations fromTAIScaleto instance.- Specified by:
offsetFromTAIin interfaceTimeScale- Parameters:
date- conversion date- Returns:
- offset in seconds to add to a location in
TAIScaletime 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 fromTAIScaleto instance.- Specified by:
offsetFromTAIin interfaceTimeScale- Type Parameters:
T- type of the filed elements- Parameters:
date- conversion date- Returns:
- offset in seconds to add to a location in
TAIScaletime scale to get a location in instance time scale - See Also:
TimeScale.offsetToTAI(DateComponents, TimeComponents)
-
getName
public String getName()
Get the name time scale.
-
-