Refactored DateValidator to support ICU format