Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add function to fast forward the recurrence rule to the last generated occurrence.
Linked with #6
Improvements (count is using the old method, until is using the new FF method):
Fast forward to end count yearly basic -> took 72.21ms
Fast forward to end until yearly basic -> took 0.233ms
Fast forward to end count yearly by year day -> took 322.662ms
Fast forward to end until yearly by year day -> took 0.773ms
Fast forward to end count yearly advanced -> took 407.867ms
Fast forward to end until yearly advanced -> took 1.562ms
Fast forward to end count monthly basic -> took 27.834ms
Fast forward to end until monthly basic -> took 0.116ms
Fast forward to end count monthly 31th day -> took 76.878ms
Fast forward to end until monthly 31th day -> took 0.455ms
Fast forward to end count monthly advanced -> took 803.925ms
Fast forward to end until monthly advanced -> took 6.568ms
Fast forward to end count daily basic -> took 212.458ms
Fast forward to end until daily basic -> took 0.097ms
Fast forward to end count daily advanced -> took 225.942ms
Fast forward to end until daily advanced -> took 0.534ms
Fast forward to end count hourly basic -> took 140.776ms
Fast forward to end until hourly basic -> took 0.058ms