Package org.orekit.time
Class UTCTAIHistoryFilesLoader
- java.lang.Object
-
- org.orekit.time.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
(orUTC-TAI.history.gz
for gzip-compressed files)Only one history file must be present in the IERS directories hierarchy.
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description UTCTAIHistoryFilesLoader()
Build a loader for UTC-TAI history file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<OffsetModel>
loadOffsets()
Load UTC-TAI offsets entries.
-
-
-
Method Detail
-
loadOffsets
public List<OffsetModel> loadOffsets()
Load UTC-TAI offsets entries.- Specified by:
loadOffsets
in interfaceUTCTAIOffsetsLoader
- Returns:
- sorted UTC-TAI offsets entries (if the linear offsets used prior to 1972 are missing, they will be inserted automatically)
-
-