If we have recurrences that start at midnight and are asking for recurrences on a given day, then endDate is startDate + 24 hours.
The specified interval is always a closed, open range, i.e. it should exclude the end of the range.
We are getting the occurrence that match the end of the range here.
If we have recurrences that start at midnight and are asking for recurrences on a given day, then endDate is startDate + 24 hours.
The specified interval is always a closed, open range, i.e. it should exclude the end of the range.
We are getting the occurrence that match the end of the range here.