public class TAIScale extends Object implements TimeScale
This is intended to be accessed thanks to TimeScales
,
so there is no public constructor.
AbsoluteDate
,
Serialized FormModifier and Type | Method and Description |
---|---|
String |
getName()
Get the name time scale.
|
double |
offsetFromTAI(AbsoluteDate taiTime)
Get the offset to convert locations from
TAIScale to instance. |
<T extends CalculusFieldElement<T>> |
offsetFromTAI(FieldAbsoluteDate<T> 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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLeap, getLeap, insideLeap, insideLeap, minuteDuration, minuteDuration
public double offsetFromTAI(AbsoluteDate taiTime)
TAIScale
to instance.offsetFromTAI
in interface TimeScale
taiTime
- conversion dateTAIScale
time scale to get a location in instance time scaleTimeScale.offsetToTAI(DateComponents, TimeComponents)
public <T extends CalculusFieldElement<T>> T offsetFromTAI(FieldAbsoluteDate<T> date)
TAIScale
to instance.offsetFromTAI
in interface TimeScale
T
- type of the filed elementsdate
- 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 © 2002-2021 CS GROUP. All rights reserved.