title: Gregorian Calendar - Getting wrong values in Android
body: <p>I am using Gregorian calendar to set the date value and trying to get the values set. Code below</p>
  
  <pre><code> Constants.sSetDate_calendar = new GregorianCalendar(year,month,day);// year - 2013, month - 12, day - 15
            Log.w("OOOOO", Constants.sSetDate_calendar.get(Calendar.YEAR)+"--"+Constants.sSetDate_calendar.get(Calendar.MONTH)+"--"+Constants.sSetDate_calendar.get(Calendar.DAY_OF_MONTH)+"");   
  </code></pre>
  
  <p>In Log statement, i see</p>
  
  <pre><code>11-02 10:21:35.060: W/OOOOO(26671): **2014--0--15**
  </code></pre>
  
  <p>Not sure what is going wrong.  Why the values set and get are different ?
  Need some help here.</p>