src/sap.ui.core/src/sap/ui/core/Configuration.js
function(sStyle, sPattern) {
			check(sStyle == "short" || sStyle == "medium" || sStyle == "long" || sStyle == "full", "sStyle must be short, medium, long or full");
			this._set("dateFormats-" + sStyle, sPattern);
			return this;
		}
function(sStyle, sPattern) {
			check(sStyle == "short" || sStyle == "medium" || sStyle == "long" || sStyle == "full", "sStyle must be short, medium, long or full");
			this._set("dateFormats-" + sStyle, sPattern);
			return this;
		}
function ( sStyle , sPattern ) { check ( sStyle == "short" || sStyle == "medium" || sStyle == "long" || sStyle == "full" , "sStyle must be short, medium, long or full" ) ; this . _set ( "dateFormats-" + sStyle , sPattern ) ; return this ; }
Defines the preferred format pattern for the given date format style.

Calling this method with a null or undefined pattern removes a previously set pattern.

If a pattern is defined, it will be preferred over patterns derived from the current locale.

See class {@link sap.ui.core.format.DateFormat} for details about the pattern syntax.

After changing the date pattern, the framework tries to update localization
specific parts of the UI. See the documentation of {@link sap.ui.core.Configuration#setLanguage}
for details and restrictions.

@param {string} sStyle must be one of short, medium, long or full.
@param {string} sPattern the format pattern to be used in LDML syntax.
@return {sap.ui.core.Configuration.FormatSettings} Returns <code>this</code> to allow method chaining
@public
Defines the preferred format pattern for the given date format style .