code: public void setValue(Double value, boolean fireEvents, boolean autoStart) {
          super.setValue(value, fireEvents);
          setEndValue(value);
  
          if (autoStart) {
              start();
          }
      }
docs: Provide a better control whether you want to automatically start the counting of the new value. By Default it will
  start counting with the given value.