package daypack-lib
Module Daypack_lib.Time_expr_astSource
Source
type day_range_expr = | Weekday_range of Time.weekday_range| Month_day_range of Time.month_day_range
Source
type unbounded_time_point_expr = | Tpe_name of string| Tpe_unix_seconds of int64 list| Second of second_expr| Minute_second of minute_second_expr| Hour_minute_second of hour_minute_second_expr| Day_hour_minute_second of {day : day_expr;hour_minute_second : hour_minute_second_expr;
}| Month_day_hour_minute_second of {month : month_expr;month_day : int;hour_minute_second : hour_minute_second_expr;
}| Year_month_day_hour_minute_second of {year : year_expr;month : month_expr;month_day : int;hour_minute_second : hour_minute_second_expr;
}
Source
type unbounded_time_slot_expr = | Tse_name of string| Explicit_time_slot of unbounded_time_point_expr * unbounded_time_point_expr| Month_days_and_hour_minute_second_ranges of {month_days : int Range.range list;hour_minute_second_ranges : hour_minute_second_range_expr list;
}| Weekdays_and_hour_minute_second_ranges of {weekdays : Time.weekday Range.range list;hour_minute_second_ranges : hour_minute_second_range_expr list;
}| Months_and_month_days_and_hour_minute_second_ranges of {months : month_expr Range.range list;month_days : int Range.range list;hour_minute_second_ranges : hour_minute_second_range_expr list;
}| Months_and_weekdays_and_hour_minute_second_ranges of {months : month_expr Range.range list;weekdays : Time.weekday Range.range list;hour_minute_second_ranges : hour_minute_second_range_expr list;
}| Months_and_weekday_and_hour_minute_second_ranges of {months : month_expr Range.range list;weekday : Time.weekday;hour_minute_second_ranges : hour_minute_second_range_expr list;month_weekday_mode : month_weekday_mode option;
}| Years_and_months_and_month_days_and_hour_minute_second_ranges of {years : int Range.range list;months : month_expr Range.range list;month_days : int Range.range list;hour_minute_second_ranges : hour_minute_second_range_expr list;
}
Source
type t = | Time_point_expr of time_point_expr| Time_slot_expr of time_slot_expr| Time_pattern of Time_pattern.time_pattern| Time_unary_op of unary_op * t| Time_binary_op of binary_op * t * t| Time_round_robin_select of t list