Mavrx interview question

How do you find whether a given date window has any overlap with another given date window using only two comparisons?