mapping(.TimeRanges.TimeRange:Event) scan_events(.TimeRanges.TimeRange in)
Returns a mapping with time ranges mapped to events.