Unparseable data exception
<p>I want to transform this data: "Thu, 06 Sep 2012 16:15:00 +0200" in the format yyyy-MM-dd HH:mm</p>

<p>this is my code:</p>

<pre><code>private static final SimpleDateFormat rssFormat = new SimpleDateFormat("E, dd MMM yyyy HH:mm:ss Z");
public static final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Date date = rssFormat.parse(pubDate);
date.setHours(date.getHours()+2); //this is for gmt difference
this.pubDate = dateFormat.format(date);
</code></pre>

<p>it seems ok...why does it throw this exception?</p>

<pre><code>java.text.ParseException: Unparseable date: "Tue, 04 Sep 2012 16:45:00 +0200"
</code></pre>
