package camlpdf

  1. Overview
  2. Docs
Read, write and modify PDF files

Install

Dune Dependency

Authors

Maintainers

Sources

v2.8.1.tar.gz
md5=93883956f317d4037341b6a0da8a6d03
sha512=baf16128dbe4b3bf1cc1c726976e083cd12113de6865a1d847f1e606bdc2570ce474076d5350d705dd22f538e21dd524d9e8bd56708fedd56df822be92be36a2

doc/camlpdf/Pdfdate/index.html

Module Pdfdate

Representing and Parsing PDF Dates

type t = {
  1. year : int;
  2. month : int;
  3. day : int;
  4. hour : int;
  5. minute : int;
  6. second : int;
  7. hour_offset : int;
  8. minute_offset : int;
}

The type of a date.

exception BadDate

Raised when date_of_string fails.

val date_of_string : string -> t

Build a date by parsing a PDF date string. Raises BadDate on failure.

val string_of_date : t -> string

Build a string from a date.

OCaml

Innovation. Community. Security.