jmrozanec/cron-utils

how to compute the number of executions between two days?

kasuohei opened this issue · 1 comments

README is say, this sdk provide the function: Compute the number of executions between two days by cron Expression, how?
I want to get the number of execution in yesterday by cron expression, for example:
(1) 0 50 0 * * ?
yesterday should be execute one time

(2) 0 26,29,33 * * * ?
yesterday should be execute three times

(3) 0 0 23 L * ?
yesterday should be execute zero time

plus: just for example, need to consider different case