Package org.orekit.time
Class TimeStampedDouble
- java.lang.Object
-
- org.orekit.time.TimeStampedDouble
-
- All Implemented Interfaces:
TimeStamped
- Direct Known Subclasses:
TimeStampedDoubleAndDerivative
public class TimeStampedDouble extends Object implements TimeStamped
Class that associates a double with a date.- Author:
- Vincent Cucchietti
- See Also:
AbsoluteDate
-
-
Constructor Summary
Constructors Constructor Description TimeStampedDouble(double value, AbsoluteDate date)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbsoluteDate
getDate()
Get the date.double
getValue()
Get value.-
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
-
TimeStampedDouble
public TimeStampedDouble(double value, AbsoluteDate date)
Constructor.- Parameters:
value
- valuedate
- date associated to value
-
-
Method Detail
-
getDate
public AbsoluteDate getDate()
Get the date.- Specified by:
getDate
in interfaceTimeStamped
- Returns:
- date attached to the object
-
getValue
public double getValue()
Get value.- Returns:
- value
-
-