Interface TimeStamped

    • 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, the TT scale or the GPS 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)