CalendarLibSourceGeneric calendar implementation.
module Calendar_sig : sig ... endCalendar interface. A calendar combines a date and a time: it may be seen as a 6-uple (year, month, day, hour, minute, second).
module Date_sig : sig ... endDate interface. A date may be seen as a triple (year, month, day).
module Period : sig ... endA period represents the time passed between two events (a date, a time...). Only an interface defining arithmetic operations on periods is defined here. An implementation of this interface depends on the kind of an event (see module Time.Period, Date.Period and Calendar.Period).
Pretty printing and parsing from string. In the following, an "event" is either a date or a time or a calendar.
module Time_sig : sig ... endTime interface. A time may be seen as a triple (hour, minute, second).