class Chronic::RepeaterWeekday

def next(pointer)

def next(pointer)
  super
  direction = pointer == :future ? 1 : -1
  if !@current_weekday_start
    @current_weekday_start = Chronic.construct(@now.year, @now.month, @now.day)
    @current_weekday_start += direction * DAY_SECONDS
    until is_weekday?(@current_weekday_start.wday)
      @current_weekday_start += direction * DAY_SECONDS
    end
  else
    loop do
      @current_weekday_start += direction * DAY_SECONDS
      break if is_weekday?(@current_weekday_start.wday)
    end
  end
  Span.new(@current_weekday_start, @current_weekday_start + DAY_SECONDS)
end