Flexport interview question

Design an Open table. How to deal with the time interval.