I'm using this method to store calendar events. Basically storing events not as dates, but as a repeating pattern. Suppose i have events that take place every other day starting from today and some events take place every week on tuesday, starting next week.
The problem with this approach is when entering a new event and how to determine, that no two events will overlap. Some events will have a start, repeat interval, but no repeat stop so how do i compare two such events? I don't want a person to enter a recurring event at the same time another one is already happening.
So my question is, how to make sure with this approach that no two events will overlap?
Thanks in advance