# system.kanoa.schedule.adjustScheduleEvents(scheduleBlockInfo, scheduleTimes, scheduleBlockList, scheduleOption, scheduleConfig, rangeStart, rangeEnd, userId)

Takes a list of scheduleTimes to be scheduled and a list of scheduleBlocks that are overlapping and adjusts the scheduleTimes

---
### Parameters
**scheduleBlockInfo** `Dictionary`: scheduleBlockInfo to be adjusted<br />
**scheduleTimes** `List of Dictionaries`: List of scheduleTimes to be scheduled<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - endDate</td><td>DateTime</td><td></td></tr>	
 	<tr><td> - startDate</td><td>DateTime</td><td></td></tr>	
	</tbody>
</table>

**scheduleBlockList** `List of Dictionaries`: List of scheduleBlocks that are overlapping<br />
**scheduleOption** `String`: 'wrap'<br />
**scheduleConfig** `Dictionary`: i.e. 'shiftTimeOnly': True<br />
**rangeStart** `DateTime`: Start date of range to be adjusted<br />
**rangeEnd** `DateTime`: End date of range to be adjusted<br />
**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**scheduleEventTimes** `List of Dictionaries`<br />

---
### Example
```python
```
