def next_execution(self) -> Time:
     time = self._latest_execution
     while time < Time.now():
         if time > self._last_execution:
             return Time.never()
         time += self._interval
     return time
 def next_execution(self) -> Time:
     if self._execution_time < Time.now():
         return Time.never()
     return self._execution_time