class Chronic::RepeaterDayName
def next(pointer)
def next(pointer) super direction = pointer == :future ? 1 : -1 if !@current_day_start @current_day_start = Time.construct(@now.year, @now.month, @now.day) @current_day_start += direction * DAY_SECONDS day_num = symbol_to_number(@type) while @current_day_start.wday != day_num @current_day_start += direction * DAY_SECONDS end else @current_day_start += direction * 7 * DAY_SECONDS end Chronic::Span.new(@current_day_start, @current_day_start + DAY_SECONDS) end