Package org.orekit.frames
Class ITRFVersionLoader.ITRFVersionConfiguration
- java.lang.Object
-
- org.orekit.frames.ITRFVersionLoader.ITRFVersionConfiguration
-
- Enclosing class:
- ITRFVersionLoader
public static class ITRFVersionLoader.ITRFVersionConfiguration extends Object
ITRF version configuration entry.
-
-
Constructor Summary
Constructors Constructor Description ITRFVersionConfiguration(String prefix, ITRFVersion version, int validityStart, int validityEnd)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
appliesTo(String name)
Check if this entry applies to a file name.ITRFVersion
getVersion()
Get ITRF version.boolean
isValid(int mjd)
Check if configuration entry is valid for a date.
-
-
-
Constructor Detail
-
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 Detail
-
appliesTo
public boolean appliesTo(String name)
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
public ITRFVersion 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
-
-