Simplify DatePair.hasStartDate and DatePair.hasEndDate