src/sap.ui.unified/src/sap/ui/unified/CalendarTimeInterval.js
function _handleDateFocus(oEvent){

		var oFocusedDate = new UniversalDate(this._getFocusedDate().getTime());
		var oDate = CalendarUtils._createUniversalUTCDate(oEvent.getParameter("date"), undefined, true);
		var bNotVisible = oEvent.getParameter("otherMonth");

		if (bNotVisible &&
				oDate.getUTCMonth() == oFocusedDate.getUTCMonth() &&
				oDate.getUTCFullYear() == oFocusedDate.getUTCFullYear()) {
			// only show days in the same month
			// set start date and focus date
			_setDateInDatesRow.call(this, oDate);
		}

	}
function _handleDateFocus(oEvent){

		var oFocusedDate = new UniversalDate(this._getFocusedDate().getTime());
		var oDate = CalendarUtils._createUniversalUTCDate(oEvent.getParameter("date"), undefined, true);
		var bNotVisible = oEvent.getParameter("otherMonth");

		if (bNotVisible &&
				oDate.getUTCMonth() == oFocusedDate.getUTCMonth() &&
				oDate.getUTCFullYear() == oFocusedDate.getUTCFullYear()) {
			// only show days in the same month
			// set start date and focus date
			_setDateInDatesRow.call(this, oDate);
		}

	}
function _handleDateFocus ( oEvent ) { var oFocusedDate = new UniversalDate ( this . _getFocusedDate ( ) . getTime ( ) ) ; var oDate = CalendarUtils . _createUniversalUTCDate ( oEvent . getParameter ( "date" ) , undefined , true ) ; var bNotVisible = oEvent . getParameter ( "otherMonth" ) ; if ( bNotVisible && oDate . getUTCMonth ( ) == oFocusedDate . getUTCMonth ( ) && oDate . getUTCFullYear ( ) == oFocusedDate . getUTCFullYear ( ) ) { // only show days in the same month // set start date and focus date _setDateInDatesRow . call ( this , oDate ) ; } }
Handles day focus from the embedded day Picker.
This function assumes there is a "datesRow" aggregation.
So callers must take care.
@return {void}
@private
Handles day focus from the embedded day Picker . This function assumes there is a datesRow aggregation . So callers must take care .