ephemeris 0.1.0-alpha.0

A sane date/time library for rust
Documentation

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.