Enum ITRFVersion

    • Enum Constant Detail

      • ITRF_2020

        public static final ITRFVersion ITRF_2020
        Constant for ITRF 2020.
      • ITRF_2014

        public static final ITRFVersion ITRF_2014
        Constant for ITRF 2014.
      • ITRF_2008

        public static final ITRFVersion ITRF_2008
        Constant for ITRF 2008.
      • ITRF_2005

        public static final ITRFVersion ITRF_2005
        Constant for ITRF 2005.
      • ITRF_2000

        public static final ITRFVersion ITRF_2000
        Constant for ITRF 2000.
      • ITRF_1997

        public static final ITRFVersion ITRF_1997
        Constant for ITRF 1997.
      • ITRF_1996

        public static final ITRFVersion ITRF_1996
        Constant for ITRF 1996.
      • ITRF_1994

        public static final ITRFVersion ITRF_1994
        Constant for ITRF 1994.
      • ITRF_1993

        public static final ITRFVersion ITRF_1993
        Constant for ITRF 1993.
      • ITRF_1992

        public static final ITRFVersion ITRF_1992
        Constant for ITRF 1992.
      • ITRF_1991

        public static final ITRFVersion ITRF_1991
        Constant for ITRF 1991.
      • ITRF_1990

        public static final ITRFVersion ITRF_1990
        Constant for ITRF 1990.
      • ITRF_1989

        public static final ITRFVersion ITRF_1989
        Constant for ITRF 89.
      • ITRF_1988

        public static final ITRFVersion ITRF_1988
        Constant for ITRF 88.
    • Method Detail

      • values

        public static ITRFVersion[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ITRFVersion c : ITRFVersion.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ITRFVersion valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getYear

        public int getYear()
        Get the reference year of the frame version.
        Returns:
        reference year of the frame version
      • getName

        public String getName()
        Get the name the frame version.
        Returns:
        name of the frame version
      • getITRFVersion

        public static ITRFVersion getITRFVersion​(int year)
        Find an ITRF version from its reference year.
        Parameters:
        year - reference year of the frame version
        Returns:
        ITRF version for specified year
      • getITRFVersion

        public static ITRFVersion getITRFVersion​(String name)
        Find an ITRF version from its name.
        Parameters:
        name - name of the frame version (case is ignored)
        Returns:
        ITRF version
      • getLast

        public static ITRFVersion getLast()
        Get last supported ITRF version.
        Returns:
        last supported ITRF version
        Since:
        11.2
      • getConverter

        public static ITRFVersion.Converter getConverter​(ITRFVersion origin,
                                                         ITRFVersion destination,
                                                         TimeScale tt)
        Find a converter between specified ITRF frames.
        Parameters:
        origin - origin ITRF
        destination - destination ITRF
        tt - TT time scale.
        Returns:
        transform from origin to destination
        Since:
        10.1