Class ClockOffset

  • All Implemented Interfaces:
    TimeStamped

    public class ClockOffset
    extends Object
    implements TimeStamped
    Container for time stamped clock offset.
    Since:
    12.1
    Author:
    Luc Maisonobe
    • Constructor Detail

      • ClockOffset

        public ClockOffset​(AbsoluteDate date,
                           double offset,
                           double rate,
                           double acceleration)
        Simple constructor.
        Parameters:
        date - date
        offset - clock offset
        rate - clock rate (can be set to Double.NaN if unknown)
        acceleration - clock acceleration (can be set to Double.NaN if unknown)
    • Method Detail

      • getOffset

        public double getOffset()
        Get offset.
        Returns:
        offset
      • getRate

        public double getRate()
        Get rate.
        Returns:
        rate (Double.NaN if unknown)
      • getAcceleration

        public double getAcceleration()
        Get acceleration.
        Returns:
        acceleration (Double.NaN if unknown)