|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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
Method Summary | |
---|---|
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 . |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public double offsetFromTAI(AbsoluteDate date)
TAIScale
to instance.
offsetFromTAI
in interface TimeScale
date
- 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 TimeScale
date
- date location in the time scaletime
- time location in the time scale
TAIScale
time scaleTimeScale.offsetFromTAI(AbsoluteDate)
public String getName()
getName
in interface TimeScale
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |