package daypack-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. year : int;
  2. month : month;
  3. day : int;
  4. hour : int;
  5. minute : int;
  6. second : int;
  7. tz_offset_s : int;
}
val of_ptime_date_time : (Ptime.date * Ptime.time) -> (t, unit) Stdlib.result
val to_ptime_date_time : t -> Ptime.date * Ptime.time
val to_unix_second : t -> (int64, unit) Stdlib.result
val of_unix_second : tz_offset_s_of_date_time:tz_offset_s option -> int64 -> (t, unit) Stdlib.result
val min : t
val max : t
val compare : t -> t -> int
val set_to_first_sec : t -> t
val set_to_last_sec : t -> t
val set_to_first_min_sec : t -> t
val set_to_last_min_sec : t -> t
val set_to_first_hour_min_sec : t -> t
val set_to_last_hour_min_sec : t -> t
val set_to_first_day_hour_min_sec : t -> t
val set_to_last_day_hour_min_sec : t -> t
val set_to_first_month_day_hour_min_sec : t -> t
val set_to_last_month_day_hour_min_sec : t -> t
OCaml

Innovation. Community. Security.