I am using following pattern and date
Date : 13-13-2007
Pattern : dd-MM-yyyy
Output: Sun Jan 13 00:00:00 IST 2008
Or
2008-01-13 00:00:00.0
I was expecting exception here. What can i do to generate exception when given date is inproper.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…