In Calendar Provider there are multiple data tables, there's the Events table, which store details of individual Events, and there's the Instances table, which store the start and end time for each occurrence of an Event.
My question is:
How exactly are occurrences stored in the Instances table, like how could the table store every occurrence for an Event if the Event is repeating everyday forever? It would need infinite number of rows in the table, and also wouldn't this require much storage space? An Event that repeats everyday for one year would have 365 entries in the table, so isn't it a waste to store every occurrence of an Event?