title: Issue with SimpleDateFormat's milliseconds
body: <p>I tried this snippet code and the output is very surprising. Why the output is different from the input? Did I make a mistake or is there a problem with SimpleDateFormat?</p>
  
  <pre><code>SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd-HH.mm.ss.SSS");
  try {
      Date date = sdf.parse("2013-04-18-19.01.33.080");
      System.out.println(sdf.format(date)); // output: 2012-04-18-19.01.33.80
  } catch (ParseException e) {
      e.printStackTrace();
  }
  </code></pre>
  
  <p><strong>EDIT:</strong> In fact, I checked my code and I wrote <code>yyyy-MM-dd-HH.mm.ss.S</code> instead of <code>yyyy-MM-dd-HH.mm.ss.SSS</code>. It was a stupid mistake. Thanks all for your answers.</p>