#time #calendar #date #timezone

timens

Simple and efficient library for timestamp and date manipulation

4 releases

0.1.4 Jan 2, 2022
0.1.3 Dec 11, 2021
0.1.1 Nov 28, 2021
0.1.0 Nov 27, 2021

#83 in Date and time

42 downloads per month

MIT/Apache

595KB
8K SLoC

C 6.5K SLoC // 0.2% comments Rust 1.5K SLoC // 0.0% comments Perl 42 SLoC // 0.1% comments Shell 25 SLoC // 0.2% comments

timens-rs

Simple and efficient timestamp representation. The main objective being interoperability with OCaml Core_kernel.Time_ns.

Build Status Latest version Documentation License

A significant part of the code has been adapted from the OCaml Core_kernel implementation.

The set of supported timezones can be filtered using the TIMENS_TZ_FILTER environment variable, e.g.:

TIMENS_TZ_FILTER="London|New_York|Hong_Kong|Tokyo|GMT" cargo build

Dependencies

Ja