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