Expand description
Free-slot computation over a busy list within working hours.
Walks each local working day inside a UTC range, subtracts merged busy intervals, and keeps gaps at least as long as the requested duration.
Structs§
- Busy
- Slot
- Working
Hours - Working hours in local time.
weekdays[0]is Monday.
Functions§
- free_
slots - Compute free slots within
range, honoringhours(interpreted intz) and subtracting mergedbusyintervals. Returns at mostmaxslots.