Package org.orekit.time
Class GalileoScale
- java.lang.Object
-
- org.orekit.time.GalileoScale
-
- All Implemented Interfaces:
Serializable,TimeScale
public class GalileoScale extends Object implements TimeScale
Galileo system time scale.By convention, TGST = UTC + 13s at Galileo epoch (1999-08-22T00:00:00Z).
This is intended to be accessed thanks to the
TimeScalesFactoryclass, so there is no public constructor.Galileo System Time and GPS time are very close scales. Without any errors, they should be identical. The offset between these two scales is the GGTO, it depends on the clocks used to realize the time scales. It is of the order of a few tens nanoseconds. This class does not implement this offset, so it is virtually identical to the
GPS scale.- 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 org.hipparchus.RealFieldElement<T>>
ToffsetFromTAI(FieldAbsoluteDate<T> date)Get the offset to convert locations fromTAIScaleto instance.doubleoffsetToTAI(DateComponents date, TimeComponents time)Get the offset to convert locations from instance toTAIScale.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
-
-
-
-
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 org.hipparchus.RealFieldElement<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)
-
offsetToTAI
public double offsetToTAI(DateComponents date, TimeComponents time)
Get the offset to convert locations from instance toTAIScale.- Specified by:
offsetToTAIin interfaceTimeScale- Parameters:
date- date location in the time scaletime- time location in the time scale- Returns:
- offset in seconds to add to a location in instance time scale
to get a location in
TAIScaletime scale - See Also:
TimeScale.offsetFromTAI(AbsoluteDate)
-
getName
public String getName()
Get the name time scale.
-
-