src/sap.ui.core/src/sap/ui/core/LocaleData.js
function(sStyle, sCalendarType) {
			assert(sStyle == "short" || sStyle == "medium" || sStyle == "long" || sStyle == "full", "sStyle must be short, medium, long or full");
			return this._get(getCLDRCalendarName(sCalendarType), "dateFormats", sStyle);
		}
function(sStyle, sCalendarType) {
			assert(sStyle == "short" || sStyle == "medium" || sStyle == "long" || sStyle == "full", "sStyle must be short, medium, long or full");
			return this._get(getCLDRCalendarName(sCalendarType), "dateFormats", sStyle);
		}
function ( sStyle , sCalendarType ) { assert ( sStyle == "short" || sStyle == "medium" || sStyle == "long" || sStyle == "full" , "sStyle must be short, medium, long or full" ) ; return this . _get ( getCLDRCalendarName ( sCalendarType ) , "dateFormats" , sStyle ) ; }
Get date pattern in format "short", "medium", "long" or "full".

@param {string} sStyle the required style for the date pattern
@param {sap.ui.core.CalendarType} [sCalendarType] the type of calendar. If it's not set, it falls back to the calendar type either set in configuration or calculated from locale.
@returns {string} the selected date pattern
@public
Get date pattern in format short medium long or full .