function _showMonthPicker(){

		if (this._iMode == 1) {
			_hideDayPicker.call(this, true);
		}else if (this._iMode == 3) {
			_hideYearPicker.call(this, true);
		}

		var oDate = this._getFocusedDate();
		var oMonthPicker = this.getAggregation("monthPicker");

		if (oMonthPicker.getDomRef()) {
			// already rendered
			oMonthPicker.$().css("display", "");
		} else {
			var oRm = sap.ui.getCore().createRenderManager();
			var $Container = this.$("content");
			oRm.renderControl(oMonthPicker);
			oRm.flush($Container[0], false, true); // insert it
			oRm.destroy();
		}

		this._showOverlay();

		oMonthPicker.setMonth(oDate.getUTCMonth());
		_setDisabledMonths.call(this, oDate.getUTCFullYear(), oMonthPicker);

		if (this._iMode == 0) {
			// remove tabindex from item
			var oTimesRow = this.getAggregation("timesRow");

			jQuery(oTimesRow._oItemNavigation.getItemDomRefs()[oTimesRow._oItemNavigation.getFocusedIndex()]).attr("tabindex", "-1");
		}

		this._iMode = 2;

		_togglePrevNext.call(this);

	}
function _showMonthPicker(){

		if (this._iMode == 1) {
			_hideDayPicker.call(this, true);
		}else if (this._iMode == 3) {
			_hideYearPicker.call(this, true);
		}

		var oDate = this._getFocusedDate();
		var oMonthPicker = this.getAggregation("monthPicker");

		if (oMonthPicker.getDomRef()) {
			// already rendered
			oMonthPicker.$().css("display", "");
		} else {
			var oRm = sap.ui.getCore().createRenderManager();
			var $Container = this.$("content");
			oRm.renderControl(oMonthPicker);
			oRm.flush($Container[0], false, true); // insert it
			oRm.destroy();
		}

		this._showOverlay();

		oMonthPicker.setMonth(oDate.getUTCMonth());
		_setDisabledMonths.call(this, oDate.getUTCFullYear(), oMonthPicker);

		if (this._iMode == 0) {
			// remove tabindex from item
			var oTimesRow = this.getAggregation("timesRow");

			jQuery(oTimesRow._oItemNavigation.getItemDomRefs()[oTimesRow._oItemNavigation.getFocusedIndex()]).attr("tabindex", "-1");
		}

		this._iMode = 2;

		_togglePrevNext.call(this);

	}
function _showMonthPicker ( ) { if ( this . _iMode == 1 ) { _hideDayPicker . call ( this , true ) ; } else if ( this . _iMode == 3 ) { _hideYearPicker . call ( this , true ) ; } var oDate = this . _getFocusedDate ( ) ; var oMonthPicker = this . getAggregation ( "monthPicker" ) ; if ( oMonthPicker . getDomRef ( ) ) { // already rendered oMonthPicker . $ ( ) . css ( "display" , "" ) ; } else { var oRm = sap . ui . getCore ( ) . createRenderManager ( ) ; var $Container = this . $ ( "content" ) ; oRm . renderControl ( oMonthPicker ) ; oRm . flush ( $Container [ 0 ] , false , true ) ; // insert it oRm . destroy ( ) ; } this . _showOverlay ( ) ; oMonthPicker . setMonth ( oDate . getUTCMonth ( ) ) ; _setDisabledMonths . call ( this , oDate . getUTCFullYear ( ) , oMonthPicker ) ; if ( this . _iMode == 0 ) { // remove tabindex from item var oTimesRow = this . getAggregation ( "timesRow" ) ; jQuery ( oTimesRow . _oItemNavigation . getItemDomRefs ( ) [ oTimesRow . _oItemNavigation . getFocusedIndex ( ) ] ) . attr ( "tabindex" , "-1" ) ; } this . _iMode = 2 ; _togglePrevNext . call ( this ) ; }
Shows an embedded month Picker.
This function assumes there is a "monthPicker" aggregation.
So callers must take care.
@return {void}
@private
Shows an embedded month Picker . This function assumes there is a monthPicker aggregation . So callers must take care .
Show the month picker