When converting a string to a Date, how do I prevent the date parsing from converting 2/29/01 to 3/1/01?
Created May 7, 2012
John Zukowski When using
DateFormat
, you can set the lenient property to false
so that it doesn't try to guess at what date it thought you were thinking.