Class UTCTAIOffset

    • Method Detail

      • getMJD

        public int getMJD()
        Get the date of the start of the leap as Modified Julian Day.
        Returns:
        date of the start of the leap as Modified Julian Day
      • getValidityStart

        public AbsoluteDate getValidityStart()
        Get the start time of validity for this offset.

        The start of the validity of the offset is getLeap() seconds after the start of the leap itself.

        Returns:
        start of validity date
        See Also:
        getDate()
      • getLeap

        public double getLeap()
        Get the value of the leap at offset validity start (in seconds).
        Returns:
        value of the leap at offset validity start (in seconds)
      • getOffset

        public double getOffset​(AbsoluteDate date)
        Get the TAI - UTC offset in seconds.
        Parameters:
        date - date at which the offset is requested
        Returns:
        TAI - UTC offset in seconds.
      • getOffset

        public <T extends CalculusFieldElement<T>> T getOffset​(FieldAbsoluteDate<T> date)
        Get the TAI - UTC offset in seconds.
        Type Parameters:
        T - type of the filed elements
        Parameters:
        date - date at which the offset is requested
        Returns:
        TAI - UTC offset in seconds.
        Since:
        9.0
      • getOffset

        public double getOffset​(DateComponents date,
                                TimeComponents time)
        Get the TAI - UTC offset in seconds.
        Parameters:
        date - date components (in UTC) at which the offset is requested
        time - time components (in UTC) at which the offset is requested
        Returns:
        TAI - UTC offset in seconds.