docs: def half_duration(self):
          """Half of the duration of the current interval."""
          if self._interval is not None:
              a, b = self._interval
              return (b - a) * .5
          else:
              return self.interval_duration * .5