Half-open interval
A range [start, end) that includes its start but not its end. A slot from 11:00 to 13:00 covers minutes 660 to 779, so at 13:00 the restaurant is closed, and back-to-back slots never overlap or leave a gap.
Learn this concept
Lesson 2.15 · Bitsets for opening hoursUsed in exercises
Exercise 2.17 · GET /v1/restaurants: open status Exercise 7.10 · Seed the Real Canteen and Operating AccountsRelatedBitset