module Pdfdate:sig..end
Representing and Parsing PDF Dates
type t = {
|
year : |
|
month : |
|
day : |
|
hour : |
|
minute : |
|
second : |
|
hour_offset : |
|
minute_offset : |
}
The type of a date.
exception BadDate
Raised when date_of_string fails.
val date_of_string : string -> tBuild a date by parsing a PDF date string. Raises BadDate on failure.
val string_of_date : t -> stringBuild a string from a date.