title: BlackBerry date parsing and an hour's difference
body: <p>Due to the limitation of date parsing on BlackBerry I'm trying to roll my own parse/deparse methods, however I seem to be falling foul of an hour's difference somewhere, somehow.</p>
  
  <p>I do this:</p>
  
  <pre><code>long nowLong = System.currentTimeMillis();
  String nowString = DateParser.longToString(nowLong);
  Date nowDateFromString = DateParser.stringToDate(nowString);
  Date nowDateFromLong = DateParser.longToDate(nowLong);
  </code></pre>
  
  <p>When outputted in order it produces this in console:</p>
  
  <pre><code>[139.46] 1369132556831
  [139.46] 21 May 2013 11:35:56 Europe/Dublin
  [139.46] Tue May 21 12:35:56 Europe/Dublin 2013
  [139.46] Tue May 21 11:35:56 Europe/Dublin 2013
  </code></pre>
  
  <p>My simulator's time is set to 11:35 so the third statement - <code>DateParser.stringToDate()</code> - seems to be failing somewhere.</p>
  
  <p>Here is my implementation:</p>
  
  <pre><code>public static Date stringToDate(String date) {
      long l = HttpDateParser.parse(date);
      Date d = new Date(l);
  
      return d;
  }
  </code></pre>
  
  <p>As my <code>nowString</code> includes the time zone I'd expect <code>HttpDateParser.parse()</code> to take this in to account but it seems not to be.</p>
  
  <p>How can I correct this?</p>