title: Why SimpleDateFormat("MM/dd/yyyy") parses date to 10/20/20128?
body: <p>I have this code:</p>
  
  <pre><code>  DateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy");
    dateFormat.setLenient(false);
    Date date = dateFormat.parse("10/20/20128");
  </code></pre>
  
  <p>and I would expect the dateFormat.parse call to throw ParseException since the year I'm providing is 5 characters long instead of 4 like in the format I defined. But for some reason even with the lenient set to false this call returns a Date object of 10/20/20128.</p>
  
  <p>Why is that? It doesn't make much sense to me. Is there another setting to make it even more strict?</p>