function computeRelativeDate(iDiff, sScale){
			var oResult = UI5Date.getInstance();

			if (bUTC) {
				// date part and time part have to be set individually
				oResult.setUTCFullYear(oResult.getFullYear(), oResult.getMonth(), oResult.getDate());
				oResult.setUTCHours(oResult.getHours(), oResult.getMinutes(), oResult.getSeconds(),
					oResult.getMilliseconds());
				// eslint-disable-next-line default-case
				switch (sScale) {
					case "second": oResult.setUTCSeconds(oResult.getUTCSeconds() + iDiff); break;
					case "minute": oResult.setUTCMinutes(oResult.getUTCMinutes() + iDiff); break;
					case "hour": oResult.setUTCHours(oResult.getUTCHours() + iDiff); break;
					case "day": oResult.setUTCDate(oResult.getUTCDate() + iDiff); break;
					case "week": oResult.setUTCDate(oResult.getUTCDate() + iDiff * 7); break;
					case "month": oResult.setUTCMonth(oResult.getUTCMonth() + iDiff); break;
					case "quarter": oResult.setUTCMonth(oResult.getUTCMonth() + iDiff * 3); break;
					case "year": oResult.setUTCFullYear(oResult.getUTCFullYear() + iDiff); break;
				}
			} else {
				// eslint-disable-next-line default-case
				switch (sScale) {
					case "second": oResult.setSeconds(oResult.getSeconds() + iDiff); break;
					case "minute": oResult.setMinutes(oResult.getMinutes() + iDiff); break;
					case "hour": oResult.setHours(oResult.getHours() + iDiff); break;
					case "day": oResult.setDate(oResult.getDate() + iDiff); break;
					case "week": oResult.setDate(oResult.getDate() + iDiff * 7); break;
					case "month": oResult.setMonth(oResult.getMonth() + iDiff); break;
					case "quarter": oResult.setMonth(oResult.getMonth() + iDiff * 3); break;
					case "year": oResult.setFullYear(oResult.getFullYear() + iDiff); break;
				}
			}

			return oResult;
		}
Parse a date string relative to the current date.

@param {string} sValue the string containing a formatted date/time value
@param {boolean} [bUTC] whether to use UTC, if no timezone is contained
@returns {Date|null} the parsed value or <code>null</code> if relative parsing not possible
@private