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.0/duration-0.3.0.tbz
sha256=62fd738fe1ee4825b3c70e7ac8cc859ed37bae147783daa583bb743bba052b75
sha512=543a152c6c26612cdaf52974ee7cb98c8931be73ae8002be6a152878af8e6031abacb771f37bd2acb6e3b29eec29d34fe8806f37ddf5211df582918379983290
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/duration/duration.0.3.0/opam