def aligned?(time, base)
      return false unless ((12 * base.year + base.mon) - (12 * time.year + time.mon)) % @interval == 0
      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.day == time.day || monthday_filters

      true
    end
def aligned?(time, base)
      return false unless ((12 * base.year + base.mon) - (12 * time.year + time.mon)) % @interval == 0
      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.day == time.day || monthday_filters

      true
    end
check if time is aligned to a base time, including interval check