Source: http://stackoverflow.com/questions/325933/determine-whether-two-date-ranges-overlap
(StartA <= EndB) and (EndA >= StartB)