fixed __isValidDateMask in DateUtils