package daypack-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type branch_unary_op =
  1. | Next_n_batches of int
  2. | Every_batch
type second_expr = int
type minute_second_expr = {
  1. minute : int;
  2. second : int;
}
type hms_expr = {
  1. hour : int;
  2. minute : int;
  3. second : int;
}
type second_range_expr = second_expr Range.range
type minute_second_range_expr = minute_second_expr Range.range
type hms_range_expr = hms_expr Range.range
type day_expr =
  1. | Weekday of Time.weekday
  2. | Month_day of int
type day_range_expr =
  1. | Weekday_range of Time.weekday_range
  2. | Month_day_range of Time.month_day_range
type month_expr = Time.month
type year_expr = int
type month_weekday_mode =
  1. | First_n of int
  2. | Last_n of int
type time_point_expr =
  1. | Tpe_name of string
  2. | Tpe_unix_seconds of int64 list
  3. | Second of second_expr
  4. | Minute_second of minute_second_expr
  5. | Hms of hms_expr
  6. | Day_hms of {
    1. day : day_expr;
    2. hms : hms_expr;
    }
  7. | Month_day_hms of {
    1. month : month_expr;
    2. month_day : int;
    3. hms : hms_expr;
    }
  8. | Year_month_day_hms of {
    1. year : year_expr;
    2. month : month_expr;
    3. month_day : int;
    4. hms : hms_expr;
    }
type branching_time_point_expr =
  1. | Btp_unary_op of branch_unary_op * branching_time_point_expr
  2. | Btp_month_days_and_hmss of {
    1. month_days : int Range.range list;
    2. hmss : hms_expr list;
    }
  3. | Btp_weekdays_and_hmss of {
    1. weekdays : Time.weekday Range.range list;
    2. hmss : hms_expr list;
    }
  4. | Btp_months_and_month_days_and_hmss of {
    1. months : month_expr Range.range list;
    2. month_days : int Range.range list;
    3. hmss : hms_expr list;
    }
  5. | Btp_months_and_weekdays_and_hmss of {
    1. months : month_expr Range.range list;
    2. weekdays : Time.weekday Range.range list;
    3. hmss : hms_expr list;
    }
  6. | Btp_months_and_weekday_and_hmss of {
    1. months : month_expr Range.range list;
    2. weekday : Time.weekday;
    3. hmss : hms_expr list;
    4. month_weekday_mode : month_weekday_mode option;
    }
  7. | Btp_years_and_months_and_month_days_and_hmss of {
    1. years : int Range.range list;
    2. months : month_expr Range.range list;
    3. month_days : int Range.range list;
    4. hmss : hms_expr list;
    }
type time_slot_expr =
  1. | Tse_name of string
  2. | Explicit_time_slot of time_point_expr * time_point_expr
type branching_time_slot_expr =
  1. | Bts_unary_op of branch_unary_op * branching_time_slot_expr
  2. | Bts_month_days_and_hms_ranges of {
    1. month_days : int Range.range list;
    2. hms_ranges : hms_range_expr list;
    }
  3. | Bts_weekdays_and_hms_ranges of {
    1. weekdays : Time.weekday Range.range list;
    2. hms_ranges : hms_range_expr list;
    }
  4. | Bts_months_and_month_days_and_hms_ranges of {
    1. months : month_expr Range.range list;
    2. month_days : int Range.range list;
    3. hms_ranges : hms_range_expr list;
    }
  5. | Bts_months_and_weekdays_and_hms_ranges of {
    1. months : month_expr Range.range list;
    2. weekdays : Time.weekday Range.range list;
    3. hms_ranges : hms_range_expr list;
    }
  6. | Bts_months_and_weekday_and_hms_ranges of {
    1. months : month_expr Range.range list;
    2. weekday : Time.weekday;
    3. hms_ranges : hms_range_expr list;
    4. month_weekday_mode : month_weekday_mode option;
    }
  7. | Bts_years_and_months_and_month_days_and_hms_ranges of {
    1. years : int Range.range list;
    2. months : month_expr Range.range list;
    3. month_days : int Range.range list;
    4. hms_ranges : hms_range_expr list;
    }
type unary_op =
  1. | Not
  2. | Every
  3. | Next_n_points of int
  4. | Next_n_slots of int
type binary_op =
  1. | Union
  2. | Inter
type t =
  1. | Time_point_expr of time_point_expr
  2. | Time_slot_expr of time_slot_expr
  3. | Branching_time_point_expr of branching_time_point_expr
  4. | Branching_time_slot_expr of branching_time_slot_expr
  5. | Time_pattern of Time_pattern.time_pattern
  6. | Time_unary_op of unary_op * t
  7. | Time_binary_op of binary_op * t * t
  8. | Time_round_robin_select of t list
OCaml

Innovation. Community. Security.