title: Calendar .YEAR, .MONTH, DAY_OF_MONTH different than date.getDay() etc?
body: <p>I realized this:</p>
  
  <pre><code>Calendar c = new GregorianCalendar();
  mYear=c.get(Calendar.YEAR);
  mMonth=c.get(Calendar.MONTH);
  mDay=c.get(Calendar.DAY_OF_MONTH);
  </code></pre>
  
  <p>And this:</p>
  
  <pre><code>Date d = c.getTime();
  int day = d.getDay();
  int month = d.getMonth();
  int year= d.getYear();
  </code></pre>
  
  <p>Yield different numbers, is there some initialization I am missing?  I care because I am using ORMLite and trying to store dates into a database, which is a Date object, but Date is being deprecated and so I am trying now to use Calendar but it doesn't seem that simple since the above code results in different answers for the day, month, and year.</p>