public class TCGScale extends Object implements TimeScale
Coordinate time at the center of mass of the Earth. This time scale depends linearly from Terrestrial
Time
.
This is intended to be accessed thanks to the TimeScalesFactory
class, so there is no public constructor.
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 . |
String |
toString() |
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 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 © 2020 CNES. All rights reserved.