So you basically want to be able to say, I want to allow a new booking that starts at unix time a and ends at Unix time b that does not overlap any existing booking. So there cannot be any other booking in the system that has an end time in Unix or a begin time in Unix that is in between the booking window?