class

CronParser

Inherits Reference < Object

Constants

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

new(source)
Source

Instance methods

last(now : Time, num : Int32)
Source
last(now = Time.local)

returns the last occurence before the given date

Source
next(now : Time, num : Int32)
Source
next(now = Time.local)

returns the next occurence after the given date

Source
parse_element(elem, allowed_range)
Source

Macros

array_result(name)
Source

Nested types