package ptime

  1. Overview
  2. Docs
POSIX time for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

ptime-1.0.0.tbz
sha512=df2410d9cc25a33083fe968a584b8fb4d68ad5c077f3356da0a20427e6cd8756a5b946b921e5cf8ed4097f2c506e93345d9dca63b113be644d5a7cc0753d1534

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 has no dependency. Ptime_clock depends on your system library or JavaScript runtime system. Ptime and its libraries are distributed under the ISC license.

Home page: http://erratique.ch/software/ptime

Tags

time posix system org:erratique

Published: 16 Feb 2022

README

Ptime — POSIX time for OCaml

v1.0.0

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 has no dependency. Ptime_clock depends on your system library or JavaScript runtime system. Ptime and its libraries are distributed under the ISC license.

Home page: http://erratique.ch/software/ptime

Installation

Ptime can be installed with opam:

opam install ptime

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

Documentation

The documentation and API reference is generated from the source interfaces. It can be consulted online or via odig doc ptime.

Sample programs

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

Dependencies (4)

  1. topkg build & >= "1.0.3"
  2. ocamlbuild build & != "0.9.0"
  3. ocamlfind build
  4. ocaml >= "4.08.0"

Dev Dependencies

None

Used by (96)

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

Conflicts

None