c_start, c_end = current_tuple
n_start, n_end = next_tuple
if n_start <= c_end:
    merged_tuple = min(c_start, n_start), max(c_end, n_end)
Merging a list of time-range tuples that have overlapping time-ranges