data Divider::Cron::Schedule(minutes: Set[Int], hours: Set[Int], days: Set[Int], months: Set[Int], wdays: Set[Int], any_day: Bool, any_wday: Bool)

The minutes, hours, days, months and days of the week an expression matches; any_day/any_wday when those fields started with *.

/home/runner/work/divider/divider/src/cron.qz:153

Methods

def minutes -> Set[Int]

/home/runner/work/divider/divider/src/cron.qz:153

def hours -> Set[Int]

/home/runner/work/divider/divider/src/cron.qz:153

def days -> Set[Int]

/home/runner/work/divider/divider/src/cron.qz:153

def months -> Set[Int]

/home/runner/work/divider/divider/src/cron.qz:153

def wdays -> Set[Int]

/home/runner/work/divider/divider/src/cron.qz:153

def any_day -> Bool

/home/runner/work/divider/divider/src/cron.qz:154

def any_wday -> Bool

/home/runner/work/divider/divider/src/cron.qz:154

def to_h -> Hash[Symbol, Object]

The fields as a Hash, by name.

/home/runner/work/divider/divider/src/cron.qz:156

def with(*, minutes: Set[Int] = …, hours: Set[Int] = …, days: Set[Int] = …, months: Set[Int] = …, wdays: Set[Int] = …, any_day: Bool = …, any_wday: Bool = …) -> Divider::Cron::Schedule

A copy with the fields given replaced.

/home/runner/work/divider/divider/src/cron.qz:156

def match?(t: Time) -> Bool

Whether the minute of t (UTC) matches.

/home/runner/work/divider/divider/src/cron.qz:156