code: public void scale(int factor) {
      setYears(factor * getYears());
      setMonths(factor * getMonths());
      setDays(factor * getDays());
      setHours(factor * getHours());
      setMinutes(factor * getMinutes());
      setSeconds(factor * getSeconds());
    }
docs: Scale this interval by an integer factor. The server can scale by arbitrary factors, but that
  would require adjusting the call signatures for all the existing methods like getDays() or
  providing our own justification of fractional intervals. Neither of these seem like a good idea
  without a strong use case.
  
  @param factor scale factor