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.3.1/duration-0.3.1.tbz sha256=cd88da693951e1212ea83e24ce17f767e95a39a9ce2adda0654b32d75ce68c13 sha512=248fec8ba9ebf6ac7cc91055307496658974e402bb9de6d37027fbe51b6708247530392cc60f954cf8d7ed8a03ce0d2da440fbd9f8720e398a446e0a43f590ad |
| Edit | https://github.com/ocaml/opam-repository/tree/master/packages/duration/duration.0.3.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-crypto-rng-mkernel
- mirage-dns
- mirage-protocols
- mirage-sleep
- mirage-solo5
- mirage-time-unix
- mirage-unikraft
- mirage-unix
- mirage-vnetif
- mirage-xen
- mnet
- owork
- shared-block-ring
- tcpip
- utcp


