docs: static int getRandomValueFromInterval(
              double randomizationFactor, double random, int currentIntervalMillis) {
          double delta = randomizationFactor * currentIntervalMillis;
          double minInterval = currentIntervalMillis - delta;
          double maxInterval = currentIntervalMillis + delta;
          // Get a random value from the range [minInterval, maxInterval].
          // The formula used below has a +1 because if the minInterval is 1 and the maxInterval is 3 then
          // we want a 33% chance for selecting either 1, 2 or 3.
          int randomValue = (int) (minInterval + (random * (maxInterval - minInterval + 1)));
          return randomValue;
      }