Sets the month attribute of the JMonthChooser object. Fires a property
change "month".

@param newMonth
the new month value
@param select
true, if the month should be selcted in the combo box.
555869
private void setMonth(int newMonth, boolean select) {
		if (!initialized || localInitialize) {
			return;
		}

		int oldMonth = month;
		month = newMonth;

		if (select) {
			comboBox.setSelectedIndex(month);
		}

		if (dayChooser != null) {
			dayChooser.setMonth(month);
		}

		firePropertyChange("month", oldMonth, month);
	}
133339
function (monthNo) {
			var month
				, targetMonth = (monthNo || this.template().mm);

			for (month in map) {
			//	console.log('finding month in map', map[month], month, typeof month);
				if (map.hasOwnProperty(month) && (map[month]=== targetMonth)) {
					//console.log('returning month', month, typeof month);
					return month;					
				}
			}
			return targetMonth;
		}
739748
public static function month($field, $title, $value = '')
    {
        return self::datePicker($field, $title, (string)$value, DatePicker::TYPE_MONTH);
    }
1183741
public void itemStateChanged(ItemEvent e) {
		if (e.getStateChange() == ItemEvent.SELECTED) {
			int index = comboBox.getSelectedIndex();

			if ((index >= 0) && (index != month)) {
				setMonth(index, false);
			}
		}
	}
141992
public final void setWeeksOfMonth(SortedSet<WeekOfMonth> weeksOfMonth) {

        m_weeksOfMonth.clear();
        if (null != weeksOfMonth) {
            m_weeksOfMonth.addAll(weeksOfMonth);
        }

    }
839045
public final void setWeekOfMonth(WeekOfMonth weekOfMonth) {

        SortedSet<WeekOfMonth> woms = new TreeSet<>();
        if (null != weekOfMonth) {
            woms.add(weekOfMonth);
        }
        setWeeksOfMonth(woms);
    }
712445
private void setCalendar(Calendar c, boolean update) {
		if (c == null) {
			setDate(null);
		}
		Calendar oldCalendar = calendar;
		calendar = c;

		if (update) {
			// Thanks to Jeff Ulmer for correcting a bug in the sequence :)
			yearChooser.setYear(c.get(Calendar.YEAR));
			monthChooser.setMonth(c.get(Calendar.MONTH));
			dayChooser.setDay(c.get(Calendar.DATE));
		}

		firePropertyChange("calendar", oldCalendar, calendar);
	}
470681
function(month)
        {
            if (!isNaN( (month = parseInt(month, 10)) )) {
                this._m = month < 0 ? 0 : month > 11 ? 11 : month;
                this.draw();
            }
        }
627577
public void setSelectedDate(Calendar date) {
        if(date!=null) {
            dateSpinner.setSelectedDate(date);
            timeSpinner.setSelectedTime(date.get(Calendar.HOUR_OF_DAY), date.get(Calendar.MINUTE));
            // a custom selection has been set, don't select the default date:
            shouldSelectDefault = false;
        }
    }
1280543
protected MonthView createMonthView() {
        MonthView newMonthView = new MonthView();
        newMonthView.setShowToday(false);
        newMonthView.setShowCurrentWeek(false);
        newMonthView.weekFieldsProperty().bind(weekFieldsProperty());
        newMonthView.showFullDayEntriesProperty()
                .bind(showAllDayEntriesProperty());
        newMonthView.showTimedEntriesProperty()
                .bind(showTimedEntriesProperty());
        newMonthView.addEventFilter(MouseEvent.ANY, weakMouseHandler);
        newMonthView.dateProperty().bind(pageStartDateProperty());
        return newMonthView;
    }
553374
public function selectMonth($name, $selected = null, $options = [], $format = '')
    {
        $this->addErrorClass($name, $options);
        $tags['input'] = parent::selectMonth($name, $selected, $options);
        $tags['error'] = $this->getErrorTag($name);
        return $this->buildTags($tags);
    }
82852
public void propertyChange(PropertyChangeEvent evt)
    {
        if (JCalendarPopup.DATE_PARAM.equalsIgnoreCase(evt.getPropertyName()))
            if (evt.getNewValue() instanceof java.util.Date)
        {
            this.setControlValue(evt.getNewValue());
        }
    }
323694
@UiHandler("m_everyDay")
    void onEveryDayValueChange(ValueChangeEvent<String> event) {

        if (handleChange()) {
            m_controller.setDayOfMonth(event.getValue());
        }

    }
343563
public static void sqlmonth(StringBuilder buf, List<? extends CharSequence> parsedArgs) throws SQLException {
    singleArgumentFunctionCall(buf, "extract(month from ", "month", parsedArgs);
  }
215838
protected final void lastMonth(final Calendar c) {
        c.set(Calendar.MONTH, c.getMaximum(Calendar.MONTH));
    }
47235
@Override
	public void setSelected(boolean selected) {
		if (selected) {
			((ToolbarModalAction) toolbarAction).onSelect(null);
		} else {
			((ToolbarModalAction) toolbarAction).onDeselect(null);
		}
	}
389179
def set_select(self, selector, updates):
        ''' 

        '''
        for obj in self.select(selector):
            for key, val in updates.items():
                setattr(obj, key, val)