title: Why does this code generate the error: "unparseable date"
body: <p>I'm trying to use the SimpleDateFormat class to parse a DateTime out of this string:</p>
  
  <pre><code>Mon Jan 10 2011 01:15:00 GMT+0000 (GMT Standard Time)
  </code></pre>
  
  <p>I tried the following format string:</p>
  
  <pre><code>String example = "Mon Jan 10 2011 01:15:00 GMT+0000 (GMT Standard Time)";
  SimpleDateFormat formatter = new SimpleDateFormat("E M d y H:m:s z");
  try
  {
      Date exampleDate = formatter.parse(example);
      LOGGER.warn(exampleDate.toString());
  }
  catch(Exception e)
  {
      LOGGER.warn(e.getMessage(), e);
  }
  </code></pre>
  
  <p>But it generates the error:</p>
  
  <pre><code>Unparseable date: "Mon Jan 10 2011 01:15:00 GMT+0000 (GMT Standard Time)"
  </code></pre>
  
  <p>So I tried removing the parenthesized end part of the example string:</p>
  
  <pre><code>String example = "Sun Jan 09 2011 22:00:00 GMT+0000";
  </code></pre>
  
  <p>But it generates the same error.</p>
  
  <pre><code>WARNING: Unparseable date: "Sun Jan 09 2011 22:00:00 GMT+0000"
  java.text.ParseException: Unparseable date: "Sun Jan 09 2011 22:00:00 GMT+0000"
  </code></pre>
  
  <p>Any hints on how to get around this?</p>