durationversion

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/0.1.2/duration-0.1.2.tbz
md5=2fca16d20fe9413948a309084ac66261
StatisticsInstalled 1181 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/duration/duration.0.1.2/opam
Optionally used by
  • arp>=0.2.0 & <1.0.0
  • dns>=0.19.1 & <1.0.0