public interface TimeScale
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
Modifier 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. |
double |
offsetToTAI(DateComponents date,
TimeComponents time)
Get the offset to convert locations from instance to
TAIScale . |
double offsetFromTAI(AbsoluteDate date)
TAIScale
to instance.date
- conversion dateTAIScale
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 scaleTAIScale
time scaleoffsetFromTAI(AbsoluteDate)
String getName()
Copyright © 2018 CNES. All Rights Reserved.