title: LocalDate.toDate( ) returns inaccurate date
body: <p>I am using JODA for formatting a Date of type : 2012-01-05T08:00:00.000Z (For the date 5th of Jan 2012) and trying to convert it to a Java Date. </p>
  
  <p>The following are the steps which I am taking at this stage: </p>
  
  <ul>
  <li><p>Using the DateTimeFormatter to do the initial formatting: </p>
  
  <pre><code>DateTimeFormatter jodaParser = DateTimeFormat
                              .forPattern(inputDateWhichIsAString);
  </code></pre></li>
  <li><p>Converting it to a LocalDate with the necessary Time Zone (UTC)</p>
  
  <pre><code>LocalDate localDate = jodaParser
                              .withZone(DateTimeZone.UTC)
                              .parseDateTime(inputDateWhichIsAString).toLocalDate();
  </code></pre></li>
  <li><p>Using the LocalDate to retrieve the Java Date object </p>
  
  <pre><code>return localDate.toDate();
  </code></pre></li>
  </ul>
  
  <p>However while I should expect the returned date to be : 5th of Jan 2012, what I am getting is 1st of Jan 1970. I was under the impression that JODA takes care of these problems which the Java Date object is known to have.  </p>
  
  <p>Am I doing something wrong here - or do anyone of you have had similar issues and know a workaround to it? </p>
  
  <p>Thanks 
  Rajat</p>
  
  <p>Edit: </p>
  
  <p>Firstly thanks Michael. </p>
  
  <p>So here is an improvement over my previous snippet which has made sure that I get the right Date - in other words the solution.  </p>
  
  <pre> <code>
      //Make sure you use HH instead of hh if you are using 24 hour convention. I use this convention since my date format is: 2012-01-05T08:00:00.000Z
  
  
       DateTimeFormatter jodaParser = 
                   DateTimeFormat.forPattern("yyyy-MM-dd'T'HH:mm:ss.SSSZZ");
  
       LocalDate date = jodaParser.withZone(DateTimeZone.UTC).parseDateTime
                   (inputDateWhichIsAString).toLocalDate();
  
       return date.toDate();
  </code></pre>
  
  <p>Cheers 
  Rajat</p>