package ptime

  1. Overview
  2. Docs
POSIX time for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

ptime-0.8.3.tbz
md5=bf84f6bfedce30349cffc9eb52ac7574

Description

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 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 depends on the result compatibility package. Ptime_clock depends on your system library. Ptime_clock's optional JavaScript support depends on js_of_ocaml. Ptime and its libraries are distributed under the ISC license.

Tags

time posix system org:erratique

Published: 06 Feb 2017

README

Ptime — POSIX time for OCaml

v0.8.3

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 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 depends on the result compatibility package. Ptime_clock depends on your system library. Ptime_clock's optional JavaScript support depends on js_of_ocaml. Ptime and its libraries are distributed under the ISC license.

Home page: http://erratique.ch/software/ptime
Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>

Installation

Ptime can be installed with opam:

opam install ptime
opam install js_of_ocaml ptime  # ptime with jsoo support

If you don't use opam consult the opam file for build instructions.

Documentation

The documentation and API reference is automatically generated by ocamldoc from the interfaces. It can be consulted online.

Sample programs

If you installed Ptime with opam sample programs are located in the directory opam config var ptime:doc.

Dependencies (5)

  1. result
  2. topkg build
  3. ocamlbuild build & != "0.9.0"
  4. ocamlfind build
  5. ocaml >= "4.01.0" & < "5.0"

Dev Dependencies

None

Used by (81)

  1. albatross
  2. asn1-combinators >= "0.2.0" & < "0.3.0"
  3. aws-s3 >= "4.0.0"
  4. builder
  5. builder-web
  6. ca-certs
  7. calculon >= "0.8"
  8. canary
  9. capnp-rpc-lwt >= "0.3.1" & < "0.5.0"
  10. capnp-rpc-net
  11. caqti
  12. carbon
  13. certify >= "0.2"
  14. clz
  15. cohttp-eio >= "6.0.0~alpha1"
  16. conan
  17. conduit-mirage < "2.1.0"
  18. cookie
  19. cookies
  20. crunch >= "3.0.0"
  21. current_github >= "0.5"
  22. current_gitlab >= "0.6.6"
  23. daypack-lib
  24. dns >= "4.0.0"
  25. dream >= "1.0.0~alpha3"
  26. dream-pure
  27. easy_xlsx
  28. ezirmin
  29. forester >= "2.2.1" & < "2.4"
  30. functoria >= "2.2.2" & < "4.0.0~beta1"
  31. git-kv
  32. git-mirage >= "3.7.0"
  33. git-unix >= "3.3.0"
  34. icalendar
  35. irmin-mirage
  36. irmin-pack-tools
  37. irmin-tezos-utils
  38. jekyll-format
  39. jose >= "0.9.0"
  40. junit
  41. jupyter-kernel >= "0.8"
  42. letsencrypt
  43. letsencrypt-app
  44. little_logger >= "0.2.0"
  45. logs-syslog
  46. lwt-exit
  47. mastodon-archive-viewer < "0.4.0"
  48. minima-theme
  49. mirage-fs-unix >= "1.3.0"
  50. mirage-kv-mem
  51. mirage-kv-unix
  52. mirage-logs >= "0.3.0"
  53. mrmime
  54. nloge
  55. ocaml-protoc-plugin >= "6.1.0"
  56. opentelemetry
  57. opium >= "0.19.0"
  58. paf
  59. pgx_value_ptime
  60. ppx_minidebug
  61. prettym
  62. river >= "0.2"
  63. scaml
  64. slacko >= "0.15.0"
  65. stog >= "0.17.0" & < "1.0.0"
  66. syndic >= "1.5"
  67. syslog-message
  68. tar-mirage >= "1.1.0"
  69. telltime
  70. timedesc
  71. timere < "0.4.0"
  72. timere-parse < "0.0.5"
  73. timmy
  74. tiny_httpd >= "0.9"
  75. tls = "0.8.0" | >= "0.11.0" & < "0.16.0"
  76. tls-async
  77. tls-lwt >= "0.17.4"
  78. tls-mirage
  79. webmachine >= "0.6.0"
  80. x509 >= "0.6.0"
  81. xapi-stdext-date

Conflicts (1)

  1. js_of_ocaml >= "3.4.0"