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.6.0&0.8.0
ocamlbuild
ocamlfind
topkg
PublishedJul 28, 2016
Source [http] https://github.com/hannesm/duration/releases/download/0.1.0/duration-0.1.0.tbz
66d8a70ca5ebb5136618a2bc93df7821
StatisticsInstalled 120 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/duration/duration.0.1.0/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.