title: Twitter date unparseable?
body: <p>I want to convert the date string in a Twitter response to a Date object, but I always get a ParseException and I cannot see the error!?!</p>
  
  <p>Input string: Thu Dec 23 18:26:07 +0000 2010</p>
  
  <p><code>SimpleDateFormat</code> Pattern:</p>
  
  <pre><code>EEE MMM dd HH:mm:ss ZZZZZ yyyy
  </code></pre>
  
  <p>Method:</p>
  
  <pre><code>public static Date getTwitterDate(String date) {
  
  SimpleDateFormat sf = new SimpleDateFormat(TWITTER);
  sf.setLenient(true);
  Date twitterDate = null;
  try {
      twitterDate = sf.parse(date);
  } catch (Exception e) {}
       return twitterDate;
  }
  </code></pre>
  
  <p>I also tried this: <a href="http://friendpaste.com/2IaKdlT3Zat4ANwdAhxAmZ" rel="noreferrer">http://friendpaste.com/2IaKdlT3Zat4ANwdAhxAmZ</a> but that gives the same result. </p>
  
  <p>I use Java 1.6 on Mac OS X.</p>
  
  <p>Cheers,</p>
  
  <p>Andi</p>