Class ITRFVersionLoader.ITRFVersionConfiguration

  • Enclosing class:
    ITRFVersionLoader

    public static class ITRFVersionLoader.ITRFVersionConfiguration
    extends Object
    ITRF version configuration entry.
    • Constructor Detail

      • ITRFVersionConfiguration

        public ITRFVersionConfiguration​(String prefix,
                                        ITRFVersion version,
                                        int validityStart,
                                        int validityEnd)
        Simple constructor.
        Parameters:
        prefix - file names to which this configuration applies
        version - ITRF version
        validityStart - 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