org.orekit.time
Interface TimeStamped

All Known Implementing Classes:
AbsoluteDate, ApsisOrbit, Attitude, CartesianOrbit, CIPCoordinates, CircularOrbit, CodedEvent, CodedEventsLogger.LoggedCodedEvent, DateDetector, DateDPFacade, EOP1980Entry, EOP2000Entry, EOPEntry, EquatorialOrbit, EquinoctialOrbit, KeplerianOrbit, MultiCodedEventsLogger.MultiLoggedCodedEvent, Orbit, OrbitCovariance, PosVelChebyshev, SatelliteTimeCoordinate, SpacecraftState, StelaEquinoctialOrbit, TidalCorrection, TimeStampedAngularCoordinates, TimeStampedPVCoordinates, TLE, Transform

public interface TimeStamped

This interface represents objects that have a AbsoluteDate date attached to them.

Classes implementing this interface can be stored chronologically in sorted sets using ChronologicalComparator as the underlying comparator. An example using for Orbit 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
 AbsoluteDate getDate()
          Get the date.
 

Method Detail

getDate

AbsoluteDate getDate()
Get the date.

Returns:
date attached to the object


Copyright © 2016 CNES. All Rights Reserved.