The minimum accepted day was 0, but as the comment in the setDaysOfMonth method says, the days of month start with 1. So an invalid cron expression could be created, causing an exception in the findNextDay method.

Comment From: pivotal-issuemaster

@ftoresan Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-issuemaster

@ftoresan Thank you for signing the Contributor License Agreement!

Comment From: snicoll

@ftoresan sorry it took so long to process this but CronSequenceGenerator is deprecated so I believe this PR is no longer applicable. Thanks, in any case.