|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeScale
Interface for time scales.
This is the interface representing all time scales. Time scales are related
to each other by some offsets that may be discontinuous (for example
the UTC scale
with respect to the TAI scale
).
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 . |
Method Detail |
---|
double offsetFromTAI(AbsoluteDate date)
TAIScale
to instance.
date
- conversion date
TAIScale
time scale to get a location in instance time scaleoffsetToTAI(DateComponents, TimeComponents)
double offsetToTAI(DateComponents date, TimeComponents time)
TAIScale
.
date
- date location in the time scaletime
- time location in the time scale
TAIScale
time scaleoffsetFromTAI(AbsoluteDate)
String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |