Add DateTimeValidator class and refactor IntegerValidator