Class UTCTAIHistoryFilesLoader

  • All Implemented Interfaces:
    UTCTAIOffsetsLoader

    public class UTCTAIHistoryFilesLoader
    extends Object
    implements UTCTAIOffsetsLoader
    Loader for UTC versus TAI history files.

    UTC versus TAI history files contain leap seconds data since.

    The UTC versus TAI history files are recognized thanks to their base names, which must match the pattern UTC-TAI.history (or UTC-TAI.history.gz for gzip-compressed files)

    Only one history file must be present in the IERS directories hierarchy.

    Author:
    Luc Maisonobe
    • Constructor Detail

      • UTCTAIHistoryFilesLoader

        public UTCTAIHistoryFilesLoader()
        Build a loader for UTC-TAI history file.
    • Method Detail

      • loadOffsets

        public List<OffsetModel> loadOffsets()
        Load UTC-TAI offsets entries.
        Specified by:
        loadOffsets in interface UTCTAIOffsetsLoader
        Returns:
        sorted UTC-TAI offsets entries (if the linear offsets used prior to 1972 are missing, they will be inserted automatically)