ptime
POSIX time for OCaml
Ptime has platform independent POSIX time support in pure OCaml. It provides a type to represent a well-defined range of POSIX timestamps with picosecond precision, conversion with date-time values, conversion with [RFC 3339 timestamps][rfc3339] and pretty printing to a human-readable, locale-independent representation. The additional Ptime_clock library provides access to a system POSIX clock and to the system's current time zone offset. Ptime is not a calendar library. Ptime has no dependency. Ptime_clock depends on your system library or JavaScript runtime system. Ptime and its libraries are distributed under the ISC license. [rfc3339]: http://tools.ietf.org/html/rfc3339 Home page: http://erratique.ch/software/ptime
homepage ↗homepage ↗homepage ↗ github: dbuenzli/ptime
Available in
| Overlay | Newest | Ebuilds | Last activity | |
|---|---|---|---|---|
| gentoo gitweb ↗ | 1.2.0 | 2 | 13 h | details › |
Versions & arches
Use flags of 1.2.0
- +ocamlopt Enable ocamlopt support (ocaml native code compiler) -- Produces faster programs (Warning: you have to disable/enable it at a global scale)