Extract #two_sided_time_range method