title: Best way to store time ranges with intersection constraint?
body: <p>I'm trying to implement timetable, with business hours. What is the best way to store time ranges (e.g. 12:00-14:00) from lower bound to upper (24h), with intersection check, eg for <strong>object_id</strong> = 1 and <strong>day_of_the_week</strong> = 1, there can not be intersections in any provided intervals.</p>