2 releases
0.1.0-alpha.2 | Jan 19, 2020 |
---|---|
0.1.0-alpha.0 | Jan 12, 2020 |
#434 in Date and time
25KB
453 lines
A sane date/time library for Rust.
This library primarily ports the API of the excellent java.time library.
It is also leap-second aware.
Overview
Instant
Like the Java API, this crate implements its own type named Instant
.
However, unlike the Java version, this instant is explicitly not a UTC instant, but instead is a TAI instant.
Duration
Like the Java API, this crate implements its own type named Duration
.
Unlike std::time::Duration
, ephemeris::Duration
can be negative.