Class TimeScalesFactory

  • All Implemented Interfaces:
    Serializable

    public class TimeScalesFactory
    extends Object
    implements Serializable
    Factory for predefined time scales.

    This is a utility class, so its constructor is private.

    Author:
    Luc Maisonobe
    See Also:
    Serialized Form
    • Method Detail

      • getTAI

        public static TAIScale getTAI()
        Get the International Atomic Time scale.
        Returns:
        International Atomic Time scale
      • getUT1

        public static UT1Scale getUT1​(EOPHistory history)
        Get the Universal Time 1 scale.

        As this method allow associating any history with the time scale, it may involve large data sets. So this method does not cache the resulting UT1Scale instance, a new instance will be returned each time. In order to avoid wasting memory, calling getUT1(IERSConventions, boolean) with the single enumerate corresponding to the conventions may be a better solution. This method is made available only for expert use.

        Parameters:
        history - EOP parameters providing dUT1 (may be null if no correction is desired)
        Returns:
        Universal Time 1 scale
        See Also:
        getUT1(IERSConventions, boolean)
      • getTT

        public static TTScale getTT()
        Get the Terrestrial Time scale.
        Returns:
        Terrestrial Time scale
      • getGST

        public static GalileoScale getGST()
        Get the Galileo System Time scale.
        Returns:
        Galileo System Time scale
      • getGLONASS

        public static GLONASSScale getGLONASS()
        Get the GLObal NAvigation Satellite System time scale.
        Returns:
        GLObal NAvigation Satellite System time scale
      • getQZSS

        public static QZSSScale getQZSS()
        Get the Quasi-Zenith Satellite System time scale.
        Returns:
        Quasi-Zenith Satellite System time scale
      • getGPS

        public static GPSScale getGPS()
        Get the Global Positioning System scale.
        Returns:
        Global Positioning System scale
      • getTCG

        public static TCGScale getTCG()
        Get the Geocentric Coordinate Time scale.
        Returns:
        Geocentric Coordinate Time scale
      • getTDB

        public static TDBScale getTDB()
        Get the Barycentric Dynamic Time scale.
        Returns:
        Barycentric Dynamic Time scale
      • getTCB

        public static TCBScale getTCB()
        Get the Barycentric Coordinate Time scale.
        Returns:
        Barycentric Coordinate Time scale
      • getGMST

        public static GMSTScale getGMST​(IERSConventions conventions,
                                        boolean simpleEOP)
        Get the Greenwich Mean Sidereal Time scale.
        Parameters:
        conventions - IERS conventions for which EOP parameters will provide dUT1
        simpleEOP - if true, tidal effects are ignored when interpolating EOP
        Returns:
        Greenwich Mean Sidereal Time scale
        Since:
        7.0
      • getIRNSS

        public static IRNSSScale getIRNSS()
        Get the Indian Regional Navigation Satellite System time scale.
        Returns:
        Indian Regional Navigation Satellite System time scale
      • getBDT

        public static BDTScale getBDT()
        Get the BeiDou Navigation Satellite System time scale.
        Returns:
        BeiDou Navigation Satellite System time scale