- 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