system.kanoa.schedule.checkEventsOverlap
Description
Checks to see if there is any overlap between two lists of time intervals.Syntax
checkEventsOverlap(eventsToScheduleList, scheduledEventsList)Parameters:
Returns:
Dictionary
Dictionary for eventsToScheduleList| Parameter | Type | Required | Notes |
|---|---|---|---|
| startDate | datetime | Start of the time interval | |
| endDate | datetime | End of the time interval |
Dictionary
Dictionary for scheduledEventsList| Parameter | Type | Required | Notes |
|---|---|---|---|
| startDate | datetime | Start of the scheduled event | |
| endDate | datetime | End of the scheduled event | |
| scheduleBlockInfo | dict | Details of the scheduled block |