src/sap.ui.unified/src/sap/ui/unified/CalendarTimeInterval.js
function _hideMonthPicker(bSkipFocus){

		this._iMode = 0;

		var oMonthPicker = this.getAggregation("monthPicker");
		oMonthPicker.$().css("display", "none");

		this._hideOverlay();

		if (!bSkipFocus) {
			_renderTimesRow.call(this); // to focus date

			// restore tabindex because if date not changed in _renderTimesRow only the focused date is updated
			var oTimesRow = this.getAggregation("timesRow");
			jQuery(oTimesRow._oItemNavigation.getItemDomRefs()[oTimesRow._oItemNavigation.getFocusedIndex()]).attr("tabindex", "0");
		}

	}
function _hideMonthPicker(bSkipFocus){

		this._iMode = 0;

		var oMonthPicker = this.getAggregation("monthPicker");
		oMonthPicker.$().css("display", "none");

		this._hideOverlay();

		if (!bSkipFocus) {
			_renderTimesRow.call(this); // to focus date

			// restore tabindex because if date not changed in _renderTimesRow only the focused date is updated
			var oTimesRow = this.getAggregation("timesRow");
			jQuery(oTimesRow._oItemNavigation.getItemDomRefs()[oTimesRow._oItemNavigation.getFocusedIndex()]).attr("tabindex", "0");
		}

	}
function _hideMonthPicker ( bSkipFocus ) { this . _iMode = 0 ; var oMonthPicker = this . getAggregation ( "monthPicker" ) ; oMonthPicker . $ ( ) . css ( "display" , "none" ) ; this . _hideOverlay ( ) ; if ( ! bSkipFocus ) { _renderTimesRow . call ( this ) ; // to focus date // restore tabindex because if date not changed in _renderTimesRow only the focused date is updated var oTimesRow = this . getAggregation ( "timesRow" ) ; jQuery ( oTimesRow . _oItemNavigation . getItemDomRefs ( ) [ oTimesRow . _oItemNavigation . getFocusedIndex ( ) ] ) . attr ( "tabindex" , "0" ) ; } }
Hides an embedded month Picker.
This function assumes there is a "monthPicker" aggregation.
So callers must take care.
@return {void}
@private
Hides an embedded month Picker . This function assumes there is a monthPicker aggregation . So callers must take care .