Calendar.setMonth
void setMonth(int month)Sets the month for the selected date.
The new date must be valid. For example, setting 1 (February) for the month when the day is 31, fails.
Parameters
month | The desired month for the selected date (as a number between 0 and 11). |