code: public void setMonth(int month) {
  		calendar.set(Calendar.MONTH, month);
  		int maxDays = calendar.getActualMaximum(Calendar.DAY_OF_MONTH);
  		
  		int adjustedDay = day;
  		if (day > maxDays) {
  			adjustedDay = maxDays;
  			setDay(adjustedDay);
  		}
  
  		drawDays();
  	}
docs: Sets a specific month. This is needed for correct graphical
  representation of the days.
  
  @param month
  the new month