Module Pdfdate


module Pdfdate: sig .. end
Representing and Parsing PDF Dates


type t = {
   year : int;
   month : int;
   day : int;
   hour : int;
   minute : int;
   second : int;
   hour_offset : int;
   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