links

The Links Programming Language
IN THIS PACKAGE
include module type of struct include CalendarLib.Fcalendar.Precise end
type day = Date.day =
| Sun
| Mon
| Tue
| Wed
| Thu
| Fri
| Sat
type month = Date.month =
| Jan
| Feb
| Mar
| Apr
| May
| Jun
| Jul
| Aug
| Sep
| Oct
| Nov
| Dec
type year = Date.year
type second = Time.second
type field = [
| `Day
| `Hour
| `Minute
| `Month
| `Second
| `Week
| `Year
]
val make : int -> int -> int -> int -> int -> second -> t
val lmake : year:int -> ?month:int -> ?day:int -> ?hour:int -> ?minute:int -> ?second:second -> unit -> t
val create : Date.t -> Time.t -> t
val now : unit -> t
val from_jd : float -> t
val from_mjd : float -> t
val to_gmt : t -> t
val from_gmt : t -> t
val days_in_month : t -> int
val day_of_week : t -> day
val day_of_month : t -> int
val day_of_year : t -> int
val week : t -> int
val month : t -> month
val year : t -> int
val to_jd : t -> float
val to_mjd : t -> float
val hour : t -> int
val minute : t -> int
val second : t -> second
val equal : t -> t -> bool
val compare : t -> t -> int
val hash : t -> int
val is_leap_day : t -> bool
val is_gregorian : t -> bool
val is_julian : t -> bool
val is_pm : t -> bool
val is_am : t -> bool
val to_unixtm : t -> Unix.tm
val from_unixtm : Unix.tm -> t
val to_unixfloat : t -> float
val from_unixfloat : float -> t
val from_date : Date.t -> t
val to_date : t -> Date.t
val to_time : t -> Time.t
val sub : t -> t -> [< CalendarLib.Period.date_field Day Week ] Period.period
val precise_sub : t -> t -> Period.t
val next : t -> field -> t
val prev : t -> field -> t
val pp : Format.formatter -> t -> unit
val show : t -> string