net.jqwik.time.internal.properties.arbitraries.valueRanges.MinuteBetween Maven / Gradle / Ivy
package net.jqwik.time.internal.properties.arbitraries.valueRanges;
public class MinuteBetween extends Between {
@Override
protected void checkValidity(Integer min, Integer max) {
if ((min != null && min < 0) || (max != null && max > 59)) {
throw new IllegalArgumentException("Minute value must be between 0 and 59.");
}
}
}