title: SimpleDateFormat parsing date with 'Z' literal
body: <p>I am trying to parse a date that looks like this:</p>
  
  <blockquote>
    <p>2010-04-05T17:16:00Z</p>
  </blockquote>
  
  <p>This is a valid date per <a href="http://www.ietf.org/rfc/rfc3339.txt" rel="noreferrer">http://www.ietf.org/rfc/rfc3339.txt</a>. The 'Z' literal (quote) "<em>imply that UTC is the preferred reference point for the specified time.</em>"</p>
  
  <p>If I try to parse it using SimpleDateFormat and this pattern:</p>
  
  <pre><code>yyyy-MM-dd'T'HH:mm:ss
  </code></pre>
  
  <p>it will be parsed as a Mon Apr 05 17:16:00 EDT 2010</p>
  
  <p><br>
  <code>SimpleDateFormat</code> is unable to parse the string with these patterns:</p>
  
  <pre><code>yyyy-MM-dd'T'HH:mm:ssz
  yyyy-MM-dd'T'HH:mm:ssZ
  </code></pre>
  
  <p>I can explicitly set the <em>TimeZone</em> to use on the <code>SimpleDateFormat</code> to get the expected output, but I don't think that should be necessary. Is there something I am missing? Is there an alternative date parser?</p>