Class Runt::DIWeek
In: lib/runt/temporalexpression.rb
Parent: Object

TExpr that matches days of the week where the first argument is an integer denoting the ordinal day of the week. Valid values are 0..6 where 0 == Sunday and 6==Saturday

For example:

    DIWeek.new(0)

Using constants defined in the base Runt module, you can re-write the first example above as:

    DIWeek.new(Sunday)

 See also: Date, Runt

Methods

include?   new   to_s  

Included Modules

TExpr

Constants

VALID_RANGE = 0..6

Public Class methods

Public Instance methods

[Validate]