Hi All,
I am validating date using regex and I'm trying to get matcher groups and getting wrong values. Can anyone check and let me know what i'm doing wrong.
Hi,
I'm planning to write generic class to validate any date format and DATE_PATTERN regex will be passed to validate method based on date format.
By using DateFormat, if parse (date format yyyymmdd) I will get but which is wrong date(month is wrong).