ephemeris

Crates.ioephemeris
lib.rsephemeris
version0.1.0-alpha.2
sourcesrc
created_at2020-01-12 04:59:17.68824
updated_at2020-01-19 19:51:51.30208
descriptionA sane date/time library for rust
homepage
repositoryhttps://github.com/ephemeris-rust/ephemeris
max_upload_size
id197668
size26,227
Stephen A. Imhoff (Clockwork-Muse)

documentation

README

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.

Commit count: 38

cargo fmt