Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetPreviousOccurence? #64

Open
dominique-canzeri-gameloft opened this issue Jun 17, 2020 · 1 comment
Open

GetPreviousOccurence? #64

dominique-canzeri-gameloft opened this issue Jun 17, 2020 · 1 comment

Comments

@dominique-canzeri-gameloft

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?

@DaveRMaltby
Copy link

I've provided a solution. Please let me know if there is anything more needed on my end. Thanks!

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

No branches or pull requests

2 participants