durationversion Documentation on ocaml.org

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.

AuthorHannes Mehnert <hannes@mehnert.org>
LicenseISC
Published
Homepagehttps://github.com/hannesm/duration
Issue Trackerhttps://github.com/hannesm/duration/issues
MaintainerHannes Mehnert <hannes@mehnert.org>
Dependencies
Source [http] https://github.com/hannesm/duration/releases/download/v0.3.1/duration-0.3.1.tbz
sha256=cd88da693951e1212ea83e24ce17f767e95a39a9ce2adda0654b32d75ce68c13
sha512=248fec8ba9ebf6ac7cc91055307496658974e402bb9de6d37027fbe51b6708247530392cc60f954cf8d7ed8a03ce0d2da440fbd9f8720e398a446e0a43f590ad
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/duration/duration.0.3.1/opam