|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.orekit.time.GPSScale
public class GPSScale
GPS time scale.
By convention, TGPS = TAI - 19 s.
This is intended to be accessed thanks to the TimeScalesFactory class,
so there is no public constructor.
AbsoluteDate,
Serialized Form| Method Summary | |
|---|---|
static GPSScale |
getInstance()
Deprecated. since 4.1 replaced by TimeScalesFactory.getGPS() |
java.lang.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. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
@Deprecated public static GPSScale getInstance()
TimeScalesFactory.getGPS()
public double offsetFromTAI(AbsoluteDate date)
TAIScale to instance.
offsetFromTAI in interface TimeScaledate - conversion date
TAIScale
time scale to get a location in instance time scaleTimeScale.offsetToTAI(DateComponents, TimeComponents)
public double offsetToTAI(DateComponents date,
TimeComponents time)
TAIScale.
offsetToTAI in interface TimeScaledate - date location in the time scaletime - time location in the time scale
TAIScale time scaleTimeScale.offsetFromTAI(AbsoluteDate)public java.lang.String getName()
getName in interface TimeScalepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||