NCrontab
NCrontab copied to clipboard
GetPreviousOccurence?
hello,
right now, I need to call GetOccurences(reasonableStart, now).Last() for this it's simple enough, but it seems inefficient, since it needs to calculate all occurences between the two dates. and I need to determine a 'reasonableStart' date, which is not always easy.
Is this something that could be added? or maybe I haven't thought of something?
I've provided a solution. Please let me know if there is anything more needed on my end. Thanks!