title: Date format return wrong date
body: <p>I'm trying to format a Date object and convert that formatted one back to Date type object<br>
  This is my code    </p>
  
  <pre><code>SimpleDateFormat inputDf = new SimpleDateFormat("EEE MMM dd yyyy HH:mm:ss zzz");
  System.out.println("before format  "+invoiceDate);
  invoiceDate=inputDf.parse(inputDf.format(invoiceDate));
  System.out.println("after format "+inputDf.format(invoiceDate));
  System.out.println("after parse "+invoiceDate);
  </code></pre>
  
  <p>Out put from above code is   </p>
  
  <pre><code>before format : Mon Jan 14 10:55:40 IST 2013
  after format  : Mon Jan 14 2013 10:55:40 IST
  after parse   : Mon Jan 14 10:55:40 IST 2013
  </code></pre>
  
  <p>You can see here after i parse the date object it converting back to original format(format which shows before format) but i want Date object like it appear in second print line(after format) thing is .format method returns String not a Date object, how can i fix this ?   </p>
  
  <p>Thanks </p>