package ptime

  1. Overview
  2. Docs
POSIX time for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

ptime-0.8.2.tbz
sha256=f21625462464d480be5b5fd55dc476b6fcf58edb95c0ace2d49dffa93f9c30d2
md5=4ec5780673bbb2f7553ef45f1e55839d

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: 25 Jul 2016

README

Ptime — POSIX time for OCaml

v0.8.2

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 (84)

  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" & < "3.16.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. ppx_minidebug
  60. prettym
  61. river >= "0.2"
  62. scaml
  63. sitemap
  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. timmy-jsoo >= "1.1.5"
  75. timmy-unix >= "1.1.5"
  76. tiny_httpd >= "0.9"
  77. tls = "0.8.0" | >= "0.11.0" & < "0.16.0"
  78. tls-async
  79. tls-lwt >= "0.17.4"
  80. tls-miou-unix
  81. tls-mirage
  82. webmachine >= "0.6.0"
  83. x509 >= "0.6.0"
  84. xapi-stdext-date

Conflicts (1)

  1. js_of_ocaml >= "3.4.0"
OCaml

Innovation. Community. Security.