Class AGILeapSecondFilesLoader

java.lang.Object
org.orekit.data.AbstractSelfFeedingLoader
org.orekit.time.AGILeapSecondFilesLoader
All Implemented Interfaces:
UTCTAIOffsetsLoader

public class AGILeapSecondFilesLoader extends AbstractSelfFeedingLoader implements UTCTAIOffsetsLoader
Loader for UTC-TAI extracted from LeapSecond file from AGI.

This class is immutable and hence thread-safe

Since:
10.3
Author:
Luc Maisonobe
See Also:
  • Field Details

    • DEFAULT_SUPPORTED_NAMES

      public static final String DEFAULT_SUPPORTED_NAMES
      Default supported files name pattern.
      See Also:
  • Constructor Details

    • AGILeapSecondFilesLoader

      @DefaultDataContext public AGILeapSecondFilesLoader(String supportedNames)
      Build a loader for LeapSecond.dat file from AGI. This constructor uses the default data context.
      Parameters:
      supportedNames - regular expression for supported files names
      See Also:
    • AGILeapSecondFilesLoader

      public AGILeapSecondFilesLoader(String supportedNames, DataProvidersManager manager)
      Build a loader for LeapSecond.dat file from AGI.
      Parameters:
      supportedNames - regular expression for supported files names
      manager - provides access to the tai-utc.dat file.
  • Method Details

    • 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)