src/sap.ui.core/src/sap/ui/core/Configuration.js
function(sFormatId) {
			check(!sFormatId || M_ABAP_TIME_FORMAT_PATTERN.hasOwnProperty(sFormatId), "sFormatId must be one of ['0','1','2','3','4'] or empty");
			var mChanges = this.oConfiguration._collect();
			this.sLegacyTimeFormat = mChanges.legacyTimeFormat = sFormatId = sFormatId || "";
			this.setTimePattern("short", M_ABAP_TIME_FORMAT_PATTERN[sFormatId]["short"]);
			this.setTimePattern("medium", M_ABAP_TIME_FORMAT_PATTERN[sFormatId]["medium"]);
			this._setDayPeriods("abbreviated", M_ABAP_TIME_FORMAT_PATTERN[sFormatId].dayPeriods);
			this.oConfiguration._endCollect();
			return this;
		}
function(sFormatId) {
			check(!sFormatId || M_ABAP_TIME_FORMAT_PATTERN.hasOwnProperty(sFormatId), "sFormatId must be one of ['0','1','2','3','4'] or empty");
			var mChanges = this.oConfiguration._collect();
			this.sLegacyTimeFormat = mChanges.legacyTimeFormat = sFormatId = sFormatId || "";
			this.setTimePattern("short", M_ABAP_TIME_FORMAT_PATTERN[sFormatId]["short"]);
			this.setTimePattern("medium", M_ABAP_TIME_FORMAT_PATTERN[sFormatId]["medium"]);
			this._setDayPeriods("abbreviated", M_ABAP_TIME_FORMAT_PATTERN[sFormatId].dayPeriods);
			this.oConfiguration._endCollect();
			return this;
		}
function ( sFormatId ) { check ( ! sFormatId || M_ABAP_TIME_FORMAT_PATTERN . hasOwnProperty ( sFormatId ) , "sFormatId must be one of ['0','1','2','3','4'] or empty" ) ; var mChanges = this . oConfiguration . _collect ( ) ; this . sLegacyTimeFormat = mChanges . legacyTimeFormat = sFormatId = sFormatId || "" ; this . setTimePattern ( "short" , M_ABAP_TIME_FORMAT_PATTERN [ sFormatId ] [ "short" ] ) ; this . setTimePattern ( "medium" , M_ABAP_TIME_FORMAT_PATTERN [ sFormatId ] [ "medium" ] ) ; this . _setDayPeriods ( "abbreviated" , M_ABAP_TIME_FORMAT_PATTERN [ sFormatId ] . dayPeriods ) ; this . oConfiguration . _endCollect ( ) ; return this ; }
Allows to specify one of the legacy ABAP time formats.

This method sets the time patterns for 'short' and 'medium' style to the corresponding ABAP
formats and sets the day period texts to "AM"/"PM" or "am"/"pm" respectively. When called
with a null or undefined format id, any previously applied format will be removed.

After changing the legacy time format, 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} sFormatId id of the ABAP time format (one of '0','1','2','3','4')
@return {sap.ui.core.Configuration.FormatSettings} Returns <code>this</code> to allow method chaining
@public
Allows to specify one of the legacy ABAP time formats .