Date parsing error - Format from javadoc
<p>I'm currently trying to parse a date, and I took the following example from the javadoc (<a href="http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html" rel="nofollow">http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html</a>) :</p>

<p>Format : "EEE, d MMM yyyy HH:mm:ss Z"
Date : Wed, 4 Jul 2001 12:08:56 -0700 </p>

<p>To parse this date I'm currently doing the following :</p>

<pre><code>new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss Z").parse("Wed, 4 Jul 2001 12:08:56 -0700")
</code></pre>

<p>But I get an exception </p>

<blockquote>
  <p>java.text.ParseException: Unparseable date: "Wed, 4 Jul 2001 12:08:56 -0700"</p>
</blockquote>

<p>. What am I doing wrong ?</p>

<p>Thanks a lot for your help :)</p>
