package daypack-lib

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Daypack_lib.Search_paramSource

Sourcetype t =
  1. | Time_slots of {
    1. search_using_tz_offset_s : Time.tz_offset_s option;
    2. time_slots : Time_slot.t list;
    }
  2. | Years_ahead_start_unix_second of {
    1. search_using_tz_offset_s : Time.tz_offset_s option;
    2. start : int64;
    3. search_years_ahead : int;
    }
  3. | Years_ahead_start_date_time of {
    1. search_using_tz_offset_s : Time.tz_offset_s option;
    2. start : Time.Date_time.t;
    3. search_years_ahead : int;
    }
Sourcetype error =
  1. | Invalid_start
  2. | Invalid_time_slots
  3. | Invalid_search_years_ahead
  4. | Too_far_into_future
Sourceval search_using_tz_offset_s_of_search_param : t -> Time.tz_offset_s option
Sourceval push_search_param_to_later_start : start:int64 -> t -> (t, unit) result
Sourceval start_date_time_and_search_years_ahead_of_search_param : t -> (Time.Date_time.t * int) option
Sourcemodule Check : sig ... end