title: Java Date Parsing Timezone causing parse error
body: <p>I'm receiving a ParseException with the following code and I can't seem to fix it:</p>
  
  <pre><code>String date = "Tue Mar 13 2012 10:48:05 GMT-0400";
  SimpleDateFormat format = new SimpleDateFormat("EEE MMM dd yyyy HH:mm:ss zzzX"); //Tried zzzZ at the end as well
  System.out.println(format.parse(date));
  </code></pre>
  
  <p>If I take out the -0400 and the X (or Z) at the end of the SimpleDateFormat things work fine, but once it's in the code, it simply doesn't work.  What symbol should I be using instead?  I'm using Java 7.</p>
  
  <p>Here is the parse error I receive:</p>
  
  <pre><code>java.text.ParseException: Unparseable date: "Tue Mar 13 2012 10:48:05 GMT-0400"
  at java.text.DateFormat.parse(DateFormat.java:357)
  java.text.ParseException: Unparseable date: "Tue Mar 13 2012 10:48:05 GMT-0400"
  at java.text.DateFormat.parse(DateFormat.java:357)
  at com.throwaway.parse.DateParsing.testDate(TestDate:17)
  </code></pre>