Java: How parse String to Date correct?
<p>I try to parse a Date from a String:</p>

<pre><code>String dateString = "Fr, 1. Jan";
DateFormat format = new SimpleDateFormat("EE, d. MMM");
Date date = null;
try {
    date = format.parse(dateString);
} catch (Exception e) {
    e.printStackTrace();
}
System.out.println(format.format(date));
</code></pre>

<p>And what I got as output is these:</p>

<pre><code>Do, 1. Jan
</code></pre>

<p>Why did that happen and why isn't it the same output as the input?</p>