Package org.orekit.frames
Class ITRFVersionLoader.ITRFVersionConfiguration
java.lang.Object
org.orekit.frames.ITRFVersionLoader.ITRFVersionConfiguration
- Enclosing class:
ITRFVersionLoader
ITRF version configuration entry.
-
Constructor Summary
ConstructorsConstructorDescriptionITRFVersionConfiguration(String prefix, ITRFVersion version, int validityStart, int validityEnd) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if this entry applies to a file name.Get ITRF version.booleanisValid(int mjd) Check if configuration entry is valid for a date.
-
Constructor Details
-
ITRFVersionConfiguration
public ITRFVersionConfiguration(String prefix, ITRFVersion version, int validityStart, int validityEnd) Simple constructor.- Parameters:
prefix- file names to which this configuration appliesversion- ITRF versionvalidityStart- start of validity MJD (included)validityEnd- end of validity MJD (excluded)
-
-
Method Details
-
appliesTo
Check if this entry applies to a file name.- Parameters:
name- file name to check- Returns:
- true if the configuration applies to the specified file
-
getVersion
Get ITRF version.- Returns:
- ITRF version
-
isValid
public boolean isValid(int mjd) Check if configuration entry is valid for a date.- Parameters:
mjd- date to check in modified Julian day- Returns:
- true if entry is valid for the specified date
-