Skip to content

Added Ending After Method to Builders#20

Open
bbuchanan15 wants to merge 1 commit into
gavynriebau:masterfrom
bbuchanan15:feature/ending-after
Open

Added Ending After Method to Builders#20
bbuchanan15 wants to merge 1 commit into
gavynriebau:masterfrom
bbuchanan15:feature/ending-after

Conversation

@bbuchanan15

@bbuchanan15 bbuchanan15 commented Jan 14, 2021

Copy link
Copy Markdown

Hey @gavynriebau, I needed a way to specify after a certain number of iterations in a recurrence to return a null date, showing that the recurrence is over. I added EndingAfter method to the builders that take in an int which specifies the number of times the user intends for the recurrence to happen.

I'm using your library to create schedules with parameters similar to Outlook or Google Calendar, where one of the options is to select is a "ends after" so many occurrences of the event. This seemed like something that might be useful to others, which is why I'm submitting this pull request. Let me know what you think.

Thanks.

@nikkilocke

nikkilocke commented Jan 14, 2021 via email

Copy link
Copy Markdown
Contributor

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

Successfully merging this pull request may close these issues.

2 participants