Skip to content

Honor overflowing ranges when calculating execution times - #727

Open
wozhenbang2004 wants to merge 3 commits into
jmrozanec:masterfrom
wozhenbang2004:fix/overflowing-ranges-423
Open

wozhenbang2004 wants to merge 3 commits into
jmrozanec:masterfrom
wozhenbang2004:fix/overflowing-ranges-423

Conversation

@wozhenbang2004

Copy link
Copy Markdown

Fixes #423.

For 0 0 0-07,17-0 ? * SAT, nextExecution after Saturday 07:00 currently jumps to the following Saturday instead of 17:00 the same day. Treat 17-0 as 17..23 plus 0, using the field bounds and keeping generated values ordered for list expressions. This also fixes previous execution and matching for plain overflowing ranges.

Re-enable the regression from #425 and cover hour/month bounds. The focused tests and built-package comparisons with Quartz 2.5.0 pass on JDK 17 / Linux.

mvn clean verify still reports two date-dependent CronConverterTest failures for America/St_Johns; both fail identically on unchanged master.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exception swallowed in "AndFieldValueGenerator"

1 participant