optaplanner-core/src/main/java/org/optaplanner/core/api/domain/valuerange/ValueRangeFactory.java
public static CountableValueRange<Integer> createIntValueRange(int from, int to, int incrementUnit) {
        return new IntValueRange(from, to, incrementUnit);
    }
public static CountableValueRange<Integer> createIntValueRange(int from, int to, int incrementUnit) {
        return new IntValueRange(from, to, incrementUnit);
    }
Build a {@link CountableValueRange} of a subset of {@code int} values between 2 bounds.
@param from inclusive minimum
@param to exclusive maximum, {@code >= from}
@param incrementUnit {@code > 0}
@return never null