Hotfix checking in DatePair

Note that setStartDate and setEndDate should NEVER be called manually in code. These two methods are for XML loading ONLY.