Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Minimal date module required by Syndic.
type t = CalendarLib.Calendar.t
A date with time.
val epoch : t
The POSIX time, i.e. Thursday, 1 January 1970 00:00:00 (UTC).
max d1 d2
return the maximum (i.e. more recent) of the dates d1
and d2
.
min d1 d2
return the minimum (i.e. less recent) of the dates d1
and d2
.
val of_rfc822 : string -> t
val to_rfc822 : t -> string
val of_rfc3339 : string -> t
val to_rfc3339 : t -> string
val string_of_month : month -> string
Return the 3 letters identifying the month in English.
val year : t -> int
Return the 4 digit year of the date.
val day : t -> int
Return the day of the month (1..31).
val hour : t -> int
val minute : t -> int
val second : t -> float