TimeScaleFactory

org.abh80.nf.core.time.TimeScaleFactory

A factory for obtaining singleton instances of various time scales.

This object uses a thread-safe approach with AtomicReference to ensure that only a single instance of each time scale is created and returned. This is a form of the Singleton design pattern.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Returns a singleton instance of the GLONASS time scale.

Returns a singleton instance of the GLONASS time scale.

This scale is initialized based on the Coordinated Universal Time (UTC) scale.

Attributes

Returns

A TimeScale representing the GLONASS time.

See also

Returns a singleton instance of the GPS time scale.

Returns a singleton instance of the GPS time scale.

Attributes

Returns

A TimeScale representing the GPS time.

See also

Returns a singleton instance of the IRNSS time scale.

Returns a singleton instance of the IRNSS time scale.

Attributes

Returns

A TimeScale representing the IRNSS time.

See also

Returns a singleton instance of the International Atomic Time (TAI) scale.

Returns a singleton instance of the International Atomic Time (TAI) scale.

Attributes

Returns

A TimeScale representing the International Atomic Time.

See also

Returns a singleton instance of the Barycentric Dynamical Time (TDB) scale.

Returns a singleton instance of the Barycentric Dynamical Time (TDB) scale.

This scale is initialized based on the Terrestrial Time (TT) and the J2000.0 epoch.

Attributes

Returns

A TimeScale representing the Barycentric Dynamical Time.

See also

Returns a singleton instance of the Terrestrial Dynamic Time (TDT) scale.

Returns a singleton instance of the Terrestrial Dynamic Time (TDT) scale.

This scale is initialized based on the International Atomic Time (TAI) scale.

Attributes

Returns

A TimeScale Terrestrial Dynamic Time.

See also

Returns a singleton instance of the Terrestrial Time (TT) scale.

Returns a singleton instance of the Terrestrial Time (TT) scale.

Attributes

Returns

A TimeScale representing the Terrestrial Time.

Returns a singleton instance of the Coordinated Universal Time (UTC) scale.

Returns a singleton instance of the Coordinated Universal Time (UTC) scale.

This scale is initialized based on the International Atomic Time (TAI) scale.

Attributes

Returns

A TimeScale representing the Coordinated Universal Time.

See also