duration

AuthorHannes Mehnert <hannes@mehnert.org>
LicenseISC
Homepagehttps://github.com/hannesm/duration
Issue Trackerhttps://github.com/hannesm/duration/issues
MaintainerHannes Mehnert <hannes@mehnert.org>
Dependencies
&alcotest>= 0.8.1
ocamlbuild
ocamlfind
topkg
PublishedNov 18, 2017
Source [http] https://github.com/hannesm/duration/releases/download/0.1.1/duration-0.1.1.tbz
160e36e2ba16a01492c8c2b6d8c496ac
StatisticsInstalled 28 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/duration/duration.0.1.1/opam

Conversions to various time units

A duration is represented in nanoseconds as an unsigned 64 bit integer. This has a range of up to 584 years. Functions provided check the input and raise on negative or out of bound input.