Type Alias tai_time::Tai1972Time
source · pub type Tai1972Time = TaiTime<63_072_000>;Expand description
A TaiTime alias using an epoch set at 1972-01-01 00:00:00 TAI.
Timestamps with this epoch are in common use in TAI-based clocks. The epoch is exactly 10s in the past of 1972-01-01 00:00:00 UTC.
§Examples
use tai_time::Tai1972Time;
// Set the timestamp one nanosecond after the 1972 TAI epoch.
let mut timestamp = Tai1972Time::new(0, 1);
assert_eq!(timestamp, "1972-01-01 00:00:00.000000001".parse().unwrap());Aliased Type§
struct Tai1972Time { /* private fields */ }