package daypack-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type start = [
  1. | `Unix_second of int64
  2. | `Date_time of Time.Date_time.t
]
type typ =
  1. | Time_slots of Time_slot.t list
  2. | Years_ahead of {
    1. start : start;
    2. years_ahead : int;
    }
type t = {
  1. search_using_tz_offset_s : Time.tz_offset_s option;
  2. typ : typ;
}
type error =
  1. | Invalid_start
  2. | Invalid_time_slots
  3. | Invalid_search_years_ahead
  4. | Too_far_into_future
val push_search_param_to_later_start : start:int64 -> t -> (t, unit) Stdlib.result
val start_date_time_and_search_years_ahead_of_search_param : t -> (Time.Date_time.t * int) option
module Check : sig ... end
val make_using_time_slots : ?search_using_tz_offset_s:int -> Time_slot.t list -> (t, error) Stdlib.result
val make_using_years_ahead : ?search_using_tz_offset_s:int -> ?start:start -> int -> (t, error) Stdlib.result
OCaml

Innovation. Community. Security.