(StartA <= EndB) and (EndA >= StartB)
Precondition:
- StartA < EndA
- StartB < EndB
Ref: https://stackoverflow.com/questions/325933/determine-whether-two-date-ranges-overlap
技术生活札记©Yaohui
(StartA <= EndB) and (EndA >= StartB)
Precondition:
Ref: https://stackoverflow.com/questions/325933/determine-whether-two-date-ranges-overlap