org.orekit.time
Class TCBScale

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

public class TCBScale
extends Object
implements TimeScale

Barycentric Coordinate Time.

Coordinate time at the center of mass of the Solar System. This time scale depends linearly from Barycentric Dynamical 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 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()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

offsetFromTAI

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

Specified by:
offsetFromTAI in interface TimeScale
Parameters:
date - 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 © 2016 CNES. All Rights Reserved.