Check whether two time ranges are intersecting.
the second time range to compare with
a new time range representing the intersection