title: Convert a string to GregorianCalendar
body: <p>I have a string from an email header, like <code>Date: Mon, 27 Oct 2008 08:33:29 -0700</code>. What I need is an instance of GregorianCalendar, that will represent the same moment. As easy as that -- how do I do it?</p>
  
  <p>And for the fastest ones -- this is <strong>not</strong> going to work properly:</p>
  
  <pre><code>SimpleDateFormat format = ... // whatever you want
  Date date = format.parse(myString)
  GregorianCalendar calendar = new GregorianCalendar();
  calendar.setTime(date)
  </code></pre>
  
  <p>because it will normalize the timezone to UTC (or your local machine time, depending on Java version). What I need is calendar.getTimeZone().getRawOffset() to return <code>-7 * milisInAnHour</code>.</p>