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.
| Author | Hannes Mehnert <hannes@mehnert.org> | 
|---|---|
| License | ISC | 
| Published | |
| Homepage | https://github.com/hannesm/duration | 
| Issue Tracker | https://github.com/hannesm/duration/issues | 
| Maintainer | Hannes Mehnert <hannes@mehnert.org> | 
| Dependencies | |
| Source [http] | https://github.com/hannesm/duration/releases/download/v0.2.1/duration-0.2.1.tbz sha256=c738c1f38cfb99820c121cd3ddf819de4b2228f0d50eacbd1cc3ce99e7c71e2b sha512=0de9e15c7d6188872ddd9994f08616c4a1822e4ac92724efa2c312fbb2fc44cd7cbe4b36bcf66a8451d510c1fc95de481760afbcacb8f83e183262595dcf5f0c  | 
| Edit | https://github.com/ocaml/opam-repository/tree/master/packages/duration/duration.0.2.1/opam | 
Required by
- albatross
 - alcotest-mirage
 - arp
 - awa-mirage>=0.1.0
 - builder
 - builder-web
 - charrua-client
 - charrua-unix>=1.6.0
 - current
 - current-web-pipelines
 - current_docker
 - current_examples
 - current_github
 - current_ocluster
 - dns>=4.4.1
 - dns-certify
 - dns-forward
 - dns-resolver
 - dns-server
 - dns-stub
 - happy-eyeballs
 - happy-eyeballs-lwt
 - happy-eyeballs-miou-unix
 - happy-eyeballs-mirage
 - hvsock
 - letsencrypt-mirage
 - metrics-influx
 - mirage-crypto-rng
 - mirage-crypto-rng-eio
 - mirage-crypto-rng-lwt
 - mirage-crypto-rng-miou-unix
 - mirage-crypto-rng-mirage
 - mirage-dns
 - mirage-protocols
 - mirage-sleep
 - mirage-solo5
 - mirage-time-unix
 - mirage-unikraft
 - mirage-unix
 - mirage-vnetif
 - mirage-xen
 - owork
 - shared-block-ring
 - tcpip
 
          

