No longer subtracting 1 from the max value in getRange().

This commit is contained in:
Mark Fisher
2008-10-31 14:29:05 +00:00
parent 6e1a70c196
commit 8f4d481ab2

View File

@@ -267,7 +267,7 @@ public class CronSequenceGenerator {
int[] result = new int[2];
if (field.contains("*")) {
result[0] = 0;
result[1] = max - 1;
result[1] = max;
return result;
}
if (!field.contains("-")) {