- Save the new expected time in expectedTime
- Compare expectedTime to each availableTime
- If availableTime is earlier than expectedTime, move to the next availableTime
- if availableTime is equal to or later than expectedTime, book this time
- Else default to Smits Field
Leave a Reply