.TimeRanges.TimeRange scan_history(.Rule.Timezone tz, .TimeRanges.TimeRange from, int direction, int(0..1) including)