org.orekit.time
Class TAIScale

java.lang.Object
  extended by org.orekit.time.TAIScale
All Implemented Interfaces:
TimeScale

public class TAIScale
extends Object
implements TimeScale

International Atomic Time.

This is intended to be accessed thanks to the TimeScalesFactory class, so there is no public constructor.

Author:
Luc Maisonobe
See Also:
AbsoluteDate

Method Summary
 String getName()
          Get the name time scale.
 double offsetFromTAI(AbsoluteDate taiTime)
          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

offsetFromTAI

public double offsetFromTAI(AbsoluteDate taiTime)
Get the offset to convert locations from TAIScale to instance.

Specified by:
offsetFromTAI in interface TimeScale
Parameters:
taiTime - conversion date
Returns:
offset in seconds to add to a location in TAIScale time scale to get a location in instance time scale
See Also:
TimeScale.offsetToTAI(DateComponents, TimeComponents)

offsetToTAI

public double offsetToTAI(DateComponents date,
                          TimeComponents time)
Get the offset to convert locations from instance to TAIScale.

Specified by:
offsetToTAI in interface TimeScale
Parameters:
date - date location in the time scale
time - time location in the time scale
Returns:
offset in seconds to add to a location in instance time scale to get a location in TAIScale time scale
See Also:
TimeScale.offsetFromTAI(AbsoluteDate)

getName

public String getName()
Get the name time scale.

Specified by:
getName in interface TimeScale
Returns:
name of the time scale

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2017 CNES. All Rights Reserved.