packageptime
Install
Dune Dependency
Authors
Maintainers
Sources
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
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
If you installed ptime withopam
sample programs are located in the directoryopam var ptime:doc
.
Dependencies (4)
- topkg
build & >= "1.0.3"
- ocamlbuild
build & != "0.9.0"
- ocamlfind
build
- ocaml
>= "4.08.0"
Dev Dependencies
None
- activitypub
- albatross
- asn1-combinators
< "0.2.2" | >= "0.2.6"
- aws-s3
- builder
- builder-web
- ca-certs
- calculon
>= "0.8"
- caldav
- canary
- capnp-rpc-lwt
>= "0.3.1" & < "0.5.0"
- capnp-rpc-net
- caqti
- carbon
- certify
- chamelon
- clz
- cohttp-eio
>= "6.0.0~alpha1"
- conan
- conduit-mirage
< "2.1.0"
- conformist
>= "0.5.0"
- cookie
- cookies
- crunch
>= "3.0.0"
- current_github
>= "0.5"
- current_gitlab
>= "0.6.6"
- daypack-lib
- dns
>= "4.0.0"
- dns-cli
- dream
>= "1.0.0~alpha3"
- dream-pure
- fit
>= "1.2.0"
- forester
>= "2.2.1"
- functoria
>= "2.2.2" & < "4.0.0~beta1"
- git-kv
- git-mirage
>= "3.7.0"
- git-unix
>= "3.3.0" & < "3.16.0"
- http-date
- icalendar
- irmin-mirage
- irmin-pack-tools
- irmin-tezos-utils
- jekyll-format
- jose
>= "0.9.0"
- junit
- jupyter-kernel
>= "0.8"
- letsencrypt
- letsencrypt-app
- letters
- little_logger
>= "0.2.0"
- logs-syslog
- lwt-exit
- mastodon-archive-viewer
- memtrace-mirage
- minima-theme
- mirage-fs-unix
- mirage-kv
>= "6.0.1"
- mirage-kv-mem
- mirage-kv-unix
- mirage-logs
>= "0.3.0"
- mirage-ptime
- mrmime
- nloge
- ocaml-protoc-plugin
>= "6.1.0"
- octez-libs
- opentelemetry
- opium
>= "0.19.0"
- otoggl
- paf
- pgx_value_ptime
- plebeia
- ppx_minidebug
- prettym
- prom
- rdf
>= "0.12.0"
- riot
- river
- rss
- SZXX
>= "4.1.0"
- sitemap
- slacko
>= "0.15.0"
- stk
>= "0.2.0"
- stog
>= "0.17.0"
- syndic
>= "1.5"
- syslog-message
- syslog-rfc5424
- tar-mirage
>= "1.1.0"
- telltime
- tezos-base
- tezos-stdlib-unix
- timedesc
- timere
< "0.4.0"
- timere-parse
< "0.0.5"
- timmy
- timmy-jsoo
>= "1.1.5"
- timmy-unix
>= "1.1.5"
- tiny_httpd
>= "0.9"
- tls
>= "0.11.0" & < "0.16.0"
- tls-async
- tls-eio
>= "0.17.2"
- tls-lwt
>= "0.17.4"
- tls-miou-unix
- tls-mirage
- webmachine
>= "0.6.0"
- x509
- xapi-stdext-date
Conflicts
None