Class TAIUTCDatFilesLoader

    • Field Detail

      • DEFAULT_SUPPORTED_NAMES

        public static final String DEFAULT_SUPPORTED_NAMES
        Default supported files name pattern.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TAIUTCDatFilesLoader

        public TAIUTCDatFilesLoader​(String supportedNames,
                                    DataProvidersManager manager)
        Build a loader for tai-utc.dat file from USNO.
        Parameters:
        supportedNames - regular expression for supported files names
        manager - provides access to the tai-utc.dat 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)