我有一组日期范围的文件。我希望在特定时间内获得时间表。
例如,以下是2个事件。
1. Event 1 - from 10th to 20th
2. Event 2 - from 15th to 25th
从1日到30日获取时间表。期待以下输出。
1. Date 10th to 14th - Event 1
2. Date 15th to 20th - Event 1 and Event 2
3. Date 21st to 25th - Event 2
请建议我如何实现这一目标。