Package org.orekit.time
Class ClockOffset
- java.lang.Object
-
- org.orekit.time.ClockOffset
-
- All Implemented Interfaces:
TimeStamped
public class ClockOffset extends Object implements TimeStamped
Container for time stamped clock offset.- Since:
- 12.1
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description ClockOffset(AbsoluteDate date, double offset, double rate, double acceleration)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAcceleration()
Get acceleration.AbsoluteDate
getDate()
Get the date.double
getOffset()
Get offset.double
getRate()
Get rate.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.time.TimeStamped
durationFrom
-
-
-
-
Constructor Detail
-
ClockOffset
public ClockOffset(AbsoluteDate date, double offset, double rate, double acceleration)
Simple constructor.- Parameters:
date
- dateoffset
- clock offsetrate
- clock rate (can be set toDouble.NaN
if unknown)acceleration
- clock acceleration (can be set toDouble.NaN
if unknown)
-
-
Method Detail
-
getDate
public AbsoluteDate getDate()
Get the date.- Specified by:
getDate
in interfaceTimeStamped
- Returns:
- date attached to the object
-
getOffset
public double getOffset()
Get offset.- Returns:
- offset
-
getRate
public double getRate()
Get rate.- Returns:
- rate (
Double.NaN
if unknown)
-
getAcceleration
public double getAcceleration()
Get acceleration.- Returns:
- acceleration (
Double.NaN
if unknown)
-
-