You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used this library and made some custom function that came in handy while building my application.
It would be great if we can incorporate these functions within this library so that others don't have to write it again.
here are the list of the function which I created that might help.
generateOccurrences: This will help in generating an object that provides 3 things, ruleStr, rrule, occurrences array. The occurrences array returns object of start and end which are dates of the start of the event and end of the event provided a duration of the event.
getPastOccurrences: This function returns an array of all the events that happened in the past.
getFutureOccurrences: This function returns an array of all the events that are going to happen in the future.
getNextOccurrence: This returns the next event date that is going to happen.
generateCalendarApiRecurrence(Optional): This I created for my own purpose as rrule library is not entirely compatible with the format of the google calendar api recurring event request body. So I created this for compatibility with the rrule that is generated by this library and how the google calendar api rrule is required.
PS: Most of these functions uses the underlying function that are already there in this library but it can definitely make the lives of other developers easier.
The text was updated successfully, but these errors were encountered:
I have used this library and made some custom function that came in handy while building my application.
It would be great if we can incorporate these functions within this library so that others don't have to write it again.
here are the list of the function which I created that might help.
PS: Most of these functions uses the underlying function that are already there in this library but it can definitely make the lives of other developers easier.
The text was updated successfully, but these errors were encountered: