pub fn to_pb_time_ranges(
time_ranges: &[(Timestamp, Timestamp)],
) -> Result<TimeRanges>Expand description
All time_ranges must be of the same time unit.
if input time_ranges is empty, it will return a default TimeRanges with Millisecond as the time unit.