Movatterモバイル変換


[0]ホーム

URL:


packageptime

  1. Overview
  2. Docs

You can search for identifiers within the package.

in-package search v0.2.0

POSIX time for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ptime-1.2.0.tbz
sha512=b0c3240dd9e777a5e60b5269eb2e312fc644d29ef55e257d2f2538c03bf62274173ed36e13858c44d2dbee8fe375c9c483e705706e4aa5b3b5c4609ca6324a5c

Description

Ptime has platform independent POSIX time support in pure OCaml. Itprovides a type to represent a well-defined range of POSIX timestampswith picosecond precision, conversion with date-time values,conversion withRFC 3339 timestamps and pretty printing toa human-readable, locale-independent representation.

The additional Ptime_clock library provides access to a system POSIXclock 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 orJavaScript runtime system. Ptime and its libraries are distributedunder the ISC license.

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

Tags

time posix system org:erratique

Published:11 Sep 2024

README

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 withRFC 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 withopam:

opam install ptime

If you don't useopam consult theopam file for build instructions.

Documentation

The documentation can be consultedonline or viaodig doc mtime.

Questions are welcome but better asked on theOCaml forum than on the issue tracker.

Sample programs

Seetest/min_clock.ml.

If you installed ptime withopam sample programs are located in the directoryopam var ptime:doc.

Dependencies (4)

  1. topkgbuild & >= "1.0.3"
  2. ocamlbuildbuild & != "0.9.0"
  3. ocamlfindbuild
  4. ocaml>= "4.08.0"

Dev Dependencies

None

  1. activitypub
  2. albatross
  3. asn1-combinators!= "0.2.5"
  4. aws-s3
  5. builder
  6. builder-web
  7. ca-certs
  8. calculon>= "0.8"
  9. caldav
  10. canary
  11. capnp-rpc-net
  12. caqti
  13. carbon
  14. certify
  15. chamelon
  16. clz
  17. cohttp-eio
  18. conan
  19. conformist>= "0.5.0"
  20. cookie
  21. cookies
  22. crunch
  23. current_github
  24. current_gitlab>= "0.7.1"
  25. daypack-lib
  26. dns>= "4.4.1"
  27. dns-cli
  28. dream>= "1.0.0~alpha3"
  29. dream-pure
  30. dream_middleware_ext
  31. fit>= "1.2.0"
  32. forester>= "2.2.1"
  33. git-kv
  34. git-mirage
  35. git-unix>= "3.6.0" & < "3.16.1"
  36. http-date
  37. icalendar
  38. irmin-mirage
  39. irmin-pack-tools
  40. jekyll-format
  41. jose>= "0.9.0"
  42. junit
  43. jupyter-kernel>= "0.8"
  44. ledes
  45. letsencrypt
  46. letsencrypt-app
  47. letters
  48. little_logger>= "0.2.0"
  49. logs-syslog
  50. lwt-exit
  51. mastodon-archive-viewer
  52. memtrace-mirage
  53. minima-theme
  54. mirage-kv>= "6.0.1"
  55. mirage-kv-mem
  56. mirage-kv-unix
  57. mirage-logs
  58. mirage-ptime
  59. mrmime
  60. nloge
  61. ocaml-protoc-plugin>= "6.1.0"
  62. octez-libs
  63. opentelemetry
  64. opium>= "0.19.0"
  65. otoggl
  66. paf
  67. pgx_value_ptime
  68. plebeia
  69. ppx_minidebug
  70. prettym
  71. prom
  72. rdf>= "0.12.0"
  73. riot
  74. river
  75. rss
  76. SZXX>= "4.1.0"
  77. sitemap
  78. slacko>= "0.15.0"
  79. statocaml
  80. stk>= "0.2.0"
  81. stog>= "0.17.0"
  82. syndic>= "1.5"
  83. syslog-message
  84. syslog-rfc5424
  85. tar-mirage
  86. telltime
  87. tezos-base
  88. tezos-stdlib-unix
  89. timedesc
  90. timere< "0.4.0"
  91. timere-parse< "0.0.5"
  92. timmy
  93. timmy-jsoo>= "1.1.5"
  94. timmy-unix>= "1.1.5"
  95. tiny_httpd>= "0.9"
  96. tls>= "0.12.8" & < "0.16.0"
  97. tls-async
  98. tls-eio>= "0.17.5"
  99. tls-lwt>= "0.17.5"
  100. tls-miou-unix
  101. tls-mirage
  102. webmachine>= "0.6.0"
  103. x509
  104. xapi-stdext-date

Conflicts

None


[8]ページ先頭

©2009-2025 Movatter.jp