Package org.orekit.time
Interface TimeStamped
-
- All Known Subinterfaces:
AveragedOrbitalState
,ComparableMeasurement
,FieldKinematicTransform<T>
,FieldStaticTransform<T>
,GLONASSOrbitalElements
,GNSSClockElements
,GNSSOrbitalElements
,KinematicTransform
,NormalizedSphericalHarmonicsProvider.NormalizedSphericalHarmonics
,ObservedMeasurement<T>
,RawSphericalHarmonicsProvider.RawSphericalHarmonics
,SBASOrbitalElements
,StaticTransform
,UnnormalizedSphericalHarmonicsProvider.UnnormalizedSphericalHarmonics
- All Known Implementing Classes:
AbsoluteDate
,AbsolutePVCoordinates
,AbstractAlmanac
,AbstractAveragedOrbitalState
,AbstractInterSatellitesMeasurement
,AbstractMeasurement
,AbstractNavigationMessage
,AbstractOnBoardMeasurement
,AbstractOneWayGNSSMeasurement
,AbstractSolarActivityData.LocalSolarActivity
,AbstractSolarActivityDataLoader.LineParameters
,AngularAzEl
,AngularRaDec
,Attitude
,AttitudeCovariance
,AttitudeState
,BeidouAlmanac
,BeidouCivilianNavigationMessage
,BeidouLegacyNavigationMessage
,BistaticRange
,BistaticRangeRate
,BodiesElements
,BrouwerLyddaneOrbitalState
,CartesianOrbit
,CircularOrbit
,CivilianNavigationMessage
,ClockOffset
,CombinedObservationDataSet
,CPF.CPFCoordinate
,CRD.AnglesMeasurement
,CRD.Calibration
,CRD.CalibrationDetail
,CRD.FrRangeMeasurement
,CRD.MeteorologicalMeasurement
,CRD.NptRangeMeasurement
,CRD.RangeMeasurement
,CRD.RangeSupplement
,CssiSpaceWeatherDataLoader.LineParameters
,DateDetector
,DateDriver
,DelaunayArguments
,DSST6X0OrbitalState
,DtcDataLoader.LineParameters
,EcksteinHechlerOrbitalState
,EOPEntry
,EquinoctialOrbit
,EstimatedMeasurement
,EstimatedMeasurementBase
,EventsLogger.LoggedEvent
,FDOA
,FieldTimeSpanMap.Transition
,FieldTransform
,GalileoAlmanac
,GalileoNavigationMessage
,GLONASSAlmanac
,GLONASSDate
,GLONASSEphemeris
,GLONASSNavigationMessage
,GNSSDate
,GPSAlmanac
,GPSCivilianNavigationMessage
,GPSLegacyNavigationMessage
,GroundReceiverMeasurement
,InterSatellitesOneWayRangeRate
,InterSatellitesPhase
,InterSatellitesRange
,IRNSSAlmanac
,IRNSSNavigationMessage
,KeplerianOrbit
,LegacyNavigationMessage
,MarshallSolarActivityFutureEstimationLoader.LineParameters
,MultiplexedMeasurement
,ObservationDataSet
,Omm
,OneWayGNSSPhase
,OneWayGNSSRange
,OneWayGNSSRangeRate
,Opm
,Orbit
,OrbitCovariance
,OrbitManeuver
,Phase
,Position
,PV
,QZSSAlmanac
,QZSSCivilianNavigationMessage
,QZSSLegacyNavigationMessage
,Range
,RangeRate
,SBASNavigationMessage
,SGP4OrbitalState
,SinexEopEntry
,SOLFSMYDataLoader.LineParameters
,SP3Coordinate
,SpacecraftState
,StateCovariance
,TDOA
,TimeSpanMap.Transition
,TimeStampedAngularCoordinates
,TimeStampedDouble
,TimeStampedDoubleAndDerivative
,TimeStampedPair
,TimeStampedPVCoordinates
,TLE
,TrajectoryState
,Transform
,TurnAroundRange
,UTCTAIOffset
public interface TimeStamped
This interface represents objects that have aAbsoluteDate
date attached to them.Classes implementing this interface can be stored chronologically in sorted sets using
ChronologicalComparator
as the underlying comparator. An example using forOrbit
instances is given here:SortedSet<Orbit> sortedOrbits = new TreeSet<Orbit>(new ChronologicalComparator()); sortedOrbits.add(orbit1); sortedOrbits.add(orbit2); ...
This interface is also the base interface used to
cache
series of time-dependent objects for interpolation in a thread-safe manner.- Author:
- Luc Maisonobe
- See Also:
AbsoluteDate
,ChronologicalComparator
,TimeStampedCache
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default double
durationFrom(TimeStamped other)
Compute the physically elapsed duration between two instants.AbsoluteDate
getDate()
Get the date.
-
-
-
Method Detail
-
getDate
AbsoluteDate getDate()
Get the date.- Returns:
- date attached to the object
-
durationFrom
default double durationFrom(TimeStamped other)
Compute the physically elapsed duration between two instants.The returned duration is the number of seconds physically elapsed between the two instants, measured in a regular time scale with respect to surface of the Earth (i.e either the
TAI scale
, theTT scale
or theGPS scale
). It is the only method that gives a duration with a physical meaning.- Parameters:
other
- instant to subtract from the instance- Returns:
- offset in seconds between the two instants (positive if the instance is posterior to the argument)
- Since:
- 12.0
- See Also:
AbsoluteDate.durationFrom(AbsoluteDate)
-
-