code: public ZonedDateTime nextTimeAfter(ZonedDateTime afterTime, long durationInMillis) {
          return nextTimeAfter(afterTime, afterTime.plus(Duration.ofMillis(durationInMillis)));
      }
docs: This will search for the next time within the next durationInMillis
  millisecond. Be aware that the duration is specified in millis,
  but in fact the limit is checked on a day-to-day basis.
  
  @param afterTime        A date-time with a time-zone in the ISO-8601 calendar system
  @param durationInMillis The maximum duration in millis after a given time
  @return The next time within given duration