code: public synchronized boolean advanceBy(long amount, TimeUnit unit) {
      long endingTime = currentTime + unit.toMillis(amount);
      return advanceTo(endingTime);
    }
docs: Run all runnables that are scheduled to run in the next time interval.
  
  @return  True if a runnable was executed.