public class GalileoScale extends Object implements TimeScale
By convention, TGST = UTC + 13s at Galileo epoch (1999-08-22T00:00:00Z).
This is intended to be accessed thanks to the TimeScalesFactory
class,
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
.
AbsoluteDate
,
Serialized FormModifier 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. |
<T extends RealFieldElement<T>> |
offsetFromTAI(FieldAbsoluteDate<T> 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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLeap, getLeap, insideLeap, insideLeap, minuteDuration, minuteDuration
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 <T extends RealFieldElement<T>> T offsetFromTAI(FieldAbsoluteDate<T> date)
TAIScale
to instance.offsetFromTAI
in interface TimeScale
T
- type of the filed elementsdate
- 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()
Copyright © 2002-2017 CS Systèmes d'information. All rights reserved.