TimeScale

Trait TimeScale 

Source
pub trait TimeScale {
    const NAME: &'static str;
    const ABBREVIATION: &'static str;
}
Expand description

A TimeScale identifies the relativistic time scale in which some TimePoint is expressed.

Required Associated Constants§

Source

const NAME: &'static str

The full (English) name of a time scale.

Source

const ABBREVIATION: &'static str

The abbreviated string used to represent this time scale.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl TimeScale for Bdt

Source§

const NAME: &'static str = "BeiDou Time"

Source§

const ABBREVIATION: &'static str = "BDT"

Source§

impl TimeScale for Glonasst

Source§

const NAME: &'static str = "Glonass Time"

Source§

const ABBREVIATION: &'static str = "GLONASST"

Source§

impl TimeScale for Gpst

Source§

const NAME: &'static str = "Global Positioning System Time"

Source§

const ABBREVIATION: &'static str = "GPST"

Source§

impl TimeScale for Gst

Source§

const NAME: &'static str = "Galileo System Time"

Source§

const ABBREVIATION: &'static str = "GST"

Source§

impl TimeScale for Qzsst

Source§

const NAME: &'static str = "Quasi-Zenith Satellite System Time"

Source§

const ABBREVIATION: &'static str = "QZSST"

Source§

impl TimeScale for Tai

Source§

const NAME: &'static str = "International Atomic Time"

Source§

const ABBREVIATION: &'static str = "TAI"

Source§

impl TimeScale for Tcb

Source§

const NAME: &'static str = "Barycentric Coordinate Time"

Source§

const ABBREVIATION: &'static str = "TCB"

Source§

impl TimeScale for Tcg

Source§

const NAME: &'static str = "Geocentric Coordinate Time"

Source§

const ABBREVIATION: &'static str = "TCG"

Source§

impl TimeScale for Tdb

Source§

const NAME: &'static str = "Barycentric Dynamical Time"

Source§

const ABBREVIATION: &'static str = "TDB"

Source§

impl TimeScale for Tt

Source§

const NAME: &'static str = "Terrestrial Time"

Source§

const ABBREVIATION: &'static str = "TT"

Source§

impl TimeScale for Utc

Source§

const NAME: &'static str = "Coordinated Universal Time"

Source§

const ABBREVIATION: &'static str = "UTC"