def aligned?(time, base)
      return false unless ((base.beginning_of_week - time.beginning_of_week) / 604800).to_i % @interval == 0 # 604800 = 7.days
      return false unless [time.hour, time.min, time.sec] == [base.hour, base.min, base.sec] # the shortest filter we support is for days

      return false unless base.wday == time.wday || weekday_filters

      # wow, passed every test
      true
    end
def aligned?(time, base)
      return false unless ((base.beginning_of_week - time.beginning_of_week) / 604800).to_i % @interval == 0 # 604800 = 7.days
      return false unless [time.hour, time.min, time.sec] == [base.hour, base.min, base.sec] # the shortest filter we support is for days

      return false unless base.wday == time.wday || weekday_filters

      # wow, passed every test
      true
    end
check if time is aligned to a base time, including interval check