Hi All,
I am using the Simple Date format
java class to format a date. I dont get any exception as the format of the date I am entering is correct. But if I enter a date like "
23/23/2001" where the date format defined is "
dd/MM/yyyy" the date is parsed successfully as
23 Nov 2001. But i want that some exception or errors should be thrown as the month is out of range.
Can anyone tell me how do i go about it?
Regards,
Suhas