docs: def cumulative_gaps_to(self,
                             when: datetime.datetime) -> datetime.timedelta:
          """
          Return the cumulative time within our gaps, up to ``when``.
          """
          gaps = self.gaps()
          return gaps.cumulative_time_to(when)