code: def test_get_overlap_for_time_range_pair(self):
      self.assertEqual(
          _get_overlap_for_time_range_pair(0, 1, 0.1, 0.2), (0.1, 0.2)
      )
      self.assertEqual(
          _get_overlap_for_time_range_pair(0.1, 0.2, 0, 1), (0.1, 0.2)
      )
      self.assertEqual(
          _get_overlap_for_time_range_pair(0, 1, 0.9, 1.1), (0.9, 1.0)
      )
      self.assertEqual(
          _get_overlap_for_time_range_pair(0, 0.2, 0.1, 1), (0.1, 0.2)
      )
  
file_path: pytorchvideo/tests/test_data_domsev_dataset.py
imports: import tempfile
  import unittest
  import unittest.mock
  from contextlib import ExitStack
  from pathlib import Path
  import torch
  from parameterized import parameterized
  from pytorchvideo.data.dataset_manifest_utils import VideoClipInfo, VideoDatasetType
  from pytorchvideo.data.domsev import _get_overlap_for_time_range_pair, _seconds_to_frame_index, DomsevVideoDataset, LabelData
  from pytorchvideo.data.utils import save_dataclass_objs_to_headered_csv
  from utils import get_encoded_video_infos, get_flat_video_frames, MOCK_VIDEO_IDS, MOCK_VIDEO_INFOS
label_desc: Use image node_id 3 for calling the TestDomsevVideoDataset obj's underlying member method code with example usage: obj.test_get_overlap_for_time_range_pair() without return types