Type Alias tai_time::GstTime

source ·
pub type GstTime = TaiTime<935_280_019>;
Expand description

A TaiTime alias using the Galileo System Time (GST) epoch.

This timestamp is relative to 1999-08-21 23:59:47 UTC (1999-08-22 00:00:19 TAI).

§Examples

use tai_time::GstTime;

// Set the timestamp one nanosecond after the GST epoch.
let mut timestamp = GstTime::new(0, 1).unwrap();

assert_eq!(timestamp, "1999-08-22 00:00:19.000000001".parse().unwrap());

Aliased Type§

struct GstTime { /* private fields */ }