code: function (sFormat) {
  			var oFormattedHistory,
  				aHistory = this.getHistory();
  
  			switch (sFormat) {
  				case library.HistoryFormats.Abap:
  					oFormattedHistory = AbapHistoryFormatter.format(aHistory);
  					break;
  				default :
  					oFormattedHistory = StringHistoryFormatter.format(aHistory);
  			}
  
  			return oFormattedHistory;
  		}
docs: Returns the history into formatted output depending on the passed format.
  
  @public
  @method
  @param {string} sFormat The format into which the history object will be converted. Possible values are listed in sap.ui.support.HistoryFormats.
  @name sap.ui.support.History.getFormattedHistory
  @returns {*} All analysis history objects in the correct format.