fn time_window_intersects_range( window_end: i64, time_window_size: i64, time_range: &TimestampRange, ) -> bool