public class AGILeapSecondFilesLoader extends AbstractSelfFeedingLoader implements UTCTAIOffsetsLoader
This class is immutable and hence thread-safe
Modifier and Type | Class and Description |
---|---|
static class |
AGILeapSecondFilesLoader.Parser
Internal class performing the parsing.
|
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SUPPORTED_NAMES
Default supported files name pattern.
|
Constructor and Description |
---|
AGILeapSecondFilesLoader(String supportedNames)
Build a loader for LeapSecond.dat file from AGI.
|
AGILeapSecondFilesLoader(String supportedNames,
DataProvidersManager manager)
Build a loader for LeapSecond.dat file from AGI.
|
Modifier and Type | Method and Description |
---|---|
List<OffsetModel> |
loadOffsets()
Load UTC-TAI offsets entries.
|
feed, getDataProvidersManager, getSupportedNames, setSupportedNames
public static final String DEFAULT_SUPPORTED_NAMES
@DefaultDataContext public AGILeapSecondFilesLoader(String supportedNames)
default data context
.supportedNames
- regular expression for supported files namesAGILeapSecondFilesLoader(String, DataProvidersManager)
public AGILeapSecondFilesLoader(String supportedNames, DataProvidersManager manager)
supportedNames
- regular expression for supported files namesmanager
- provides access to the tai-utc.dat
file.public List<OffsetModel> loadOffsets()
loadOffsets
in interface UTCTAIOffsetsLoader
Copyright © 2002-2021 CS GROUP. All rights reserved.