Monotonic-Time
A simple lightweight crate to convert seconds provided to Coordinated Universal Time
(UTC) or Temps Atomique International
(TAI).
Instantiate a DateTime
use DateTime;
let mut datetime = new;
Convert Seconds to UTC
use DateTime;
let now = 1656603896;
let mut datetime = new;
datetime.to_datetime;
println!
Convert Seconds to TAI
use DateTime;
let now = 1656603896;
let mut datetime = new;
// Pass in the seconds and the offset of UTC from TAI
datetime.to_taitime;
println!
LICENSING
This crate is Licensed under Apache-2.0
or MIT
CONTRIBUTING
All contributions must adhere to the crate's code and the Rust Code of Conduct - https://www.rust-lang.org/policies/code-of-conduct