If a Schedule had a repeatCount of 2, a repeatFrequency of P1W, a startDate and endDate of 2022-03-04, then this session would only happen once, right? Because the startDate and endDate are on the same day. This implies that repeatCount is just an upper bound on how often the Event will repeat (which can be augmented by other data such as endDate). This would conform with how iCal seems to describe count:
repeatCount
is documented in the spec (at https://openactive.io/modelling-opportunity-data/#publishing-event-schedules) as "Specifies that an Event will repeat the specified number of times".If a Schedule had a
repeatCount
of 2, a repeatFrequency ofP1W
, a startDate and endDate of2022-03-04
, then this session would only happen once, right? Because the startDate and endDate are on the same day. This implies thatrepeatCount
is just an upper bound on how often the Event will repeat (which can be augmented by other data such asendDate
). This would conform with how iCal seems to describecount
:https://icalendar.org/iCalendar-RFC-5545/3-3-10-recurrence-rule.html#aswift_4:~:text=The%20COUNT%20rule%20part%20defines%20the%20number%20of%20occurrences%20at%20which%20to%20range%2Dbound%20the%20recurrence