title: How to prevent FastDateFormat pattern "yyyy-MM-dd" from parsing String in format "dd-MM-yyyy"
body: <p>I have two format strings for date parsing: "yyyy-MM-dd" &amp; "dd-MM-yyyy" and I was hoping that the FastDateFormat class would be able to distinguish between the two so that one would through a ParseException and the other would work. However both formats parse the same string values where one is obviously parsed correctly and the other is not.</p>
  
  <p>My test code shows:</p>
  
  <pre><code>Parsed: "2014-06-06" into Fri Jun 06 00:00:00 EDT 2014 using "yyyy-MM-dd"
  Parsed: "2014-06-06" into Sat Dec 05 00:00:00 EST 11 using "dd-MM-yyyy"
  Parsed: "06-06-2014" into Sat Dec 05 00:00:00 EST 11 using "yyyy-MM-dd"
  Parsed: "06-06-2014" into Fri Jun 06 00:00:00 EDT 2014 using "dd-MM-yyyy"
  </code></pre>
  
  <p>Is there any easy way to make FastDateFormat handle the 4 digit year properly based upon the pattern?"
  I don't see any lenient settings on FastDateFormat.</p>