code: @Override
      public void setPeriod(int pPeriod) {
  	if (pPeriod < 0) {
  	    throw new IllegalArgumentException("Period cannot be negative");
  	}
  	int actual = Math.max(pPeriod, MIN_PERIOD);
  	log.debug("Changing clock period to {}", actual);
  	period = actual;
  
  	if (isRunning()) {
  	    stop();
  	    start(false);
  	}
      }
docs: /*
  If the value is too small, it will be overwritten by {@link #MIN_PERIOD}
  (non-Javadoc)
  @see com.github.thehilikus.jrobocom.timing.Clock#setPeriod(int)