Can any one tell me solution for the following: I have a Util.Date object in java.I want to validate the date entered. I am parsing the date object using the required format.
For ex, Format is "MM/dd/yyyy" and Date entered is "23/12/2010" For this date, I am not getting any Parse Exception but the date is adjusted to "11/12/2011" which should not happen in my case.Instead I want to throw error message.
请在这方面帮助我。
预 收