title: java.text.ParseException: Unparseable date: yyyy-MM-dd HH:mm:ss.SSSSSS
body: <p>I am getting <code>ParseException</code> for the following code</p>
  
  <pre><code>    String dateStr = "2011-12-22 10:56:24.389362";
      String formatStr = "yyyy-MM-dd HH:mm:ss.SSSSSS";
      Date testDate = null;
      SimpleDateFormat sdf= new SimpleDateFormat(formatStr);
      sdf.setLenient(false);
      testDate = sdf.parse(dateStr);
  
      System.out.println("CHECK DATE " + sdf.format(testDate));
  </code></pre>
  
  <p><code>Exception in thread "main" java.text.ParseException: Unparseable date: "2011-12-22 10:56:24.389362"
          at java.text.DateFormat.parse(DateFormat.java:337)</code></p>
  
  <p>If I comment out the line <code>sdf.setLenient(false)</code>, then I see a time difference in the ouput
  <code>CHECK DATE 2011-12-22 11:02:53.000362</code></p>
  
  <p>What am I doing wrong??</p>