while (len(window) > 0) and (window[0][0] <= t + timedelta(seconds=self.relative_interval.start)):