def interpret_weekly_variant
      hash_for_occ_base = { type: :weekly, interval: interval }
      array_of_occurrences = []
      repeats_on.each do |day_of_week|
        array_of_occurrences << hash_for_occ_base.merge(day_of_week: day_of_week)
      end
      array_of_occurrences
    end
def interpret_weekly_variant
      hash_for_occ_base = { type: :weekly, interval: interval }
      array_of_occurrences = []
      repeats_on.each do |day_of_week|
        array_of_occurrences << hash_for_occ_base.merge(day_of_week: day_of_week)
      end
      array_of_occurrences
    end
repeats_on is an array of day indices. For example,
 "every monday and wed" will produce repeats_on == [0,2].