Package org.orekit.time
Class FieldClockOffset<T extends CalculusFieldElement<T>>
- java.lang.Object
-
- org.orekit.time.FieldClockOffset<T>
-
- Type Parameters:
T
- type of the field elements
- All Implemented Interfaces:
FieldTimeStamped<T>
public class FieldClockOffset<T extends CalculusFieldElement<T>> extends Object implements FieldTimeStamped<T>
Container for time stamped clock offset.- Since:
- 12.1
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description FieldClockOffset(FieldAbsoluteDate<T> date, T offset, T rate, T acceleration)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getAcceleration()
Get acceleration.FieldAbsoluteDate<T>
getDate()
Get the date.T
getOffset()
Get offset.T
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.FieldTimeStamped
durationFrom
-
-
-
-
Constructor Detail
-
FieldClockOffset
public FieldClockOffset(FieldAbsoluteDate<T> date, T offset, T rate, T acceleration)
Simple constructor.- Parameters:
date
- dateoffset
- clock offsetrate
- clock rate (can be set tonull
if unknown)acceleration
- clock acceleration (can be set tonull
if unknown)
-
-
Method Detail
-
getDate
public FieldAbsoluteDate<T> getDate()
Get the date.- Specified by:
getDate
in interfaceFieldTimeStamped<T extends CalculusFieldElement<T>>
- Returns:
- date attached to the object
-
getOffset
public T getOffset()
Get offset.- Returns:
- offset
-
getRate
public T getRate()
Get rate.- Returns:
- rate (
null
if unknown)
-
getAcceleration
public T getAcceleration()
Get acceleration.- Returns:
- acceleration (
null
if unknown)
-
-