class CronParser
- CronParser
- Reference
- Object
Defined in:
cron_parser.crConstant Summary
-
SUBELEMENT_REGEX =
/^(\d+)(-(\d+)(\/(\d+))?)?$/
-
SYMBOLS =
{"jan" => "1", "feb" => "2", "mar" => "3", "apr" => "4", "may" => "5", "jun" => "6", "jul" => "7", "aug" => "8", "sep" => "9", "oct" => "10", "nov" => "11", "dec" => "12", "sun" => "0", "mon" => "1", "tue" => "2", "wed" => "3", "thu" => "4", "fri" => "5", "sat" => "6"}
-
VERSION =
"0.4.0"
Constructors
Instance Method Summary
- #last(now : Time, num : Int32)
-
#last(now = Time.local)
returns the last occurence before the given date
- #next(now : Time, num : Int32)
-
#next(now = Time.local)
returns the next occurence after the given date
- #parse_element(elem, allowed_range)