Re-usable date validation methods.