Class IceCube::ValidatedRule
In: lib/ice_cube/validated_rule.rb
Parent: Rule

Methods

Included Modules

Validations::ScheduleLock Validations::Count Validations::Until

Constants

VALIDATION_ORDER = [ :year, :month, :day, :wday, :hour, :min, :sec, :count, :until, :base_sec, :base_min, :base_day, :base_hour, :base_month, :base_wday, :day_of_year, :second_of_minute, :minute_of_hour, :day_of_month, :hour_of_day, :month_of_year, :day_of_week, :interval   Validations ordered for efficiency in sequence of:
  • descending intervals
  • boundary limits
  • base values by cardinality (n = 60, 60, 31, 24, 12, 7)
  • locks by cardinality (n = 365, 60, 60, 31, 24, 12, 7)
  • interval multiplier

Attributes

validations  [R] 

Public Class methods

Public Instance methods

Remove the specified base validations

Compute the next time after (or including) the specified time in respect to the given start time

Fully replace validations

Reset the uses on the rule to 0

Get the collection that contains validations of a certain type

[Validate]