Package org.orekit.time
Interface TimeStamped
-
- All Known Subinterfaces:
ComparableMeasurement
,FieldStaticTransform<T>
,GLONASSOrbitalElements
,GNSSClockElements
,GNSSOrbitalElements
,NormalizedSphericalHarmonicsProvider.NormalizedSphericalHarmonics
,ObservedMeasurement<T>
,RawSphericalHarmonicsProvider.RawSphericalHarmonics
,SBASOrbitalElements
,StaticTransform
,UnnormalizedSphericalHarmonicsProvider.UnnormalizedSphericalHarmonics
- All Known Implementing Classes:
AbsoluteDate
,AbsolutePVCoordinates
,AbstractAlmanac
,AbstractMeasurement
,AbstractNavigationMessage
,AbstractSolarActivityData.LocalSolarActivity
,AbstractSolarActivityDataLoader.LineParameters
,AngularAzEl
,AngularRaDec
,Attitude
,AttitudeCovariance
,AttitudeState
,BeidouAlmanac
,BeidouCivilianNavigationMessage
,BeidouLegacyNavigationMessage
,BistaticRange
,BistaticRangeRate
,BodiesElements
,CartesianOrbit
,CircularOrbit
,CivilianNavigationMessage
,CombinedObservationDataSet
,CPF.CPFCoordinate
,CRD.AnglesMeasurement
,CRD.Calibration
,CRD.CalibrationDetail
,CRD.FrRangeMeasurement
,CRD.MeteorologicalMeasurement
,CRD.NptRangeMeasurement
,CRD.RangeMeasurement
,CRD.RangeSupplement
,CssiSpaceWeatherDataLoader.LineParameters
,DateDetector
,DateDriver
,DelaunayArguments
,DtcDataLoader.LineParameters
,EOPEntry
,EquinoctialOrbit
,EstimatedMeasurement
,EstimatedMeasurementBase
,EventsLogger.LoggedEvent
,FDOA
,FieldTimeSpanMap.Transition
,FieldTransform
,GalileoAlmanac
,GalileoNavigationMessage
,GLONASSAlmanac
,GLONASSDate
,GLONASSEphemeris
,GLONASSNavigationMessage
,GNSSDate
,GPSAlmanac
,GPSCivilianNavigationMessage
,GPSLegacyNavigationMessage
,GroundReceiverMeasurement
,InterSatellitesPhase
,InterSatellitesRange
,IRNSSAlmanac
,IRNSSNavigationMessage
,KeplerianOrbit
,LegacyNavigationMessage
,MarshallSolarActivityFutureEstimationLoader.LineParameters
,MultiplexedMeasurement
,ObservationDataSet
,Omm
,OneWayGNSSPhase
,OneWayGNSSRange
,Opm
,Orbit
,OrbitCovariance
,OrbitManeuver
,Phase
,Position
,PV
,QZSSAlmanac
,QZSSCivilianNavigationMessage
,QZSSLegacyNavigationMessage
,Range
,RangeRate
,SBASNavigationMessage
,SinexEopEntry
,SOLFSMYDataLoader.LineParameters
,SP3Coordinate
,SpacecraftState
,StateCovariance
,TDOA
,TimeSpanMap.Transition
,TimeStampedAngularCoordinates
,TimeStampedDouble
,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)
-
-