A User can book a Relocity Service, with a host, through the Relocity mobile and web application. They select a date, then an available time, and then book the service.
- We have a calendar service that can return a list of busy time intervals for the Relocity Calendar.
- The calendar is set to a specific timezone, and you can retrieve that timezone through the calendar service.
- A Relocity host works from 8 am - 8 pm in their timezone.
- The person booking the service is in the
America/New_York
timezone.
Create a method that will return a list of free times to the person booking the service, in which the host is available, between two dates.