ocaml-opentelemetry/ptime/_doc-dir/odoc-pages/index.mld
2024-09-20 16:15:07 +00:00

26 lines
No EOL
804 B
Text

{0 Ptime {%html: <span class="version">v1.2.0</span>%}}
{!Ptime} has platform independent support for POSIX time.
It provides a {{!Ptime.t}type} to represent a well-defined range of
POSIX timestamps with picosecond precision, conversion with
{{!Ptime.date_time}date-time values}, conversion with
{{!Ptime.rfc3339}RFC 3339 timestamps} and {{!Ptime.print}pretty
printing} to a human-readable, locale-independent representation.
{!Ptime_clock} provides access to a
{{!Ptime_clock.platform_support}system POSIX clock} and the system's
current time zone offset.
Ptime is not a calendar library.
{1:ptime Library [ptime]}
{!modules: Ptime}
{1:ptime_clock Library [ptime.clock]}
{!modules: Ptime_clock}
This library also works with JavaScript,
see the {{!Ptime_clock.platform_support}platform support}.