Skip to main content
Schedule package that contains classes for working with schedules.

Variables

Constants


Types

Schedule

type Data type that manages a collection of scheduling rules, allowing for specific times and exceptions to be defined.

Methods


ScheduleRule

type Data type to represent a rule for a schedule, specifying the start and end times, along with the weekdays when the rule is active.

Methods

Example
For rules that span overnight (e.g., from 10:00 PM to 6:00 AM), the end time should be on the day listed in days, while the start time is understood to be on the previous day. This allows the rule to cover activities that occur late in the evening and extend into the early hours of the next day.

Enums

week_day

enum Enum-like class with constants for days of week.

Static fields