I am setting the 2006/12/01 (YYYY/MM/DD) to the Calendar. When i retrieve the data i am getting 2007/00/01(YYYY/MM/DD). I am getting the wrong month and year. I am getting this problem only for 12th month in any year. Please suggest me one good way. I used the following code for this.
I am using the Calendar object to set the date, moth and year.
Calendar calendar = Calendar.getInstance();
calendar.set(date.aYear, date.aMonth, date.aDay);
I am getting that data like below.