title: Convert date to XMLGregorianCalendar
body: <p>I have a date in the following format in UI..</p>
  
  <pre><code>Eg: Thu. 03/01
  </code></pre>
  
  <p>I convert them to XMLGregorianCalendar as below explained.</p>
  
  <pre><code>final DateFormat format = new SimpleDateFormat("E. M/d");
  final String dateStr = closeDate;
  final Date dDate = format.parse(dateStr);
  
  GregorianCalendar gregory = new GregorianCalendar();
  gregory.setTime(dDate);
  
  XMLGregorianCalendar dealCloseDate = DatatypeFactory.newInstance()
  .newXMLGregorianCalendar(gregory);
  </code></pre>
  
  <p>My Output is "3/06/70 05:00 AM" instead of "3/06/2011 05:00 AM". What is the chnage required to get the proper year.</p>