Hi,
First of all, Kudos to you for coming with such solution. Excellent Job.
Second, not sure if this is still being maintained because its very useful.
Third. The issue Im facing is that when I have an interval starting from an hour that is not divisive by the interval , the validation doesnt work as expected. For example: If I set the cron time to be "0 10 7-17/2 * * *" then I expect the following to be valid:
2024-06-20 7:10:00
2024-06-20 9:10:00
2024-06-20 11:10:00
2024-06-20 13:10:00
...
2024-06-20 17:10:00
However its not, and it only work if I use even hours which is not what I expected. If I do the same expression on this site: https://www.freeformatter.com/cron-expression-generator-quartz.html , I get the expected dates:

I know this is not perfect cron but it would be nice if its still work as expected.
Thanks
Hi,
First of all, Kudos to you for coming with such solution. Excellent Job.
Second, not sure if this is still being maintained because its very useful.
Third. The issue Im facing is that when I have an interval starting from an hour that is not divisive by the interval , the validation doesnt work as expected. For example: If I set the cron time to be "0 10 7-17/2 * * *" then I expect the following to be valid:
2024-06-20 7:10:00
2024-06-20 9:10:00
2024-06-20 11:10:00
2024-06-20 13:10:00
...
2024-06-20 17:10:00
However its not, and it only work if I use even hours which is not what I expected. If I do the same expression on this site: https://www.freeformatter.com/cron-expression-generator-quartz.html , I get the expected dates:
I know this is not perfect cron but it would be nice if its still work as expected.
Thanks