Simplify DatePair.hasStartDate and DatePair.hasEndDate
Merge branch 'master' into quality_control
Fix logic bug in DatePair.isWithinPeriod which happens when two dates are the same
Add tests for null dates in DatePair.isWithinPeriod
Merge branch 'quality_control'