Exemple #1
0
 /// <summary>
 /// Get a datetime instance of the DateFormat, which can be used for formatting.
 /// </summary>
 /// <param name="oFormatOptions">Object which defines the format options</param>
 /// <param name="oLocale">Locale to ask for locale specific texts/settings</param>
 /// <returns>datetime instance of the DateFormat</returns>
 public extern static sap.ui.core.format.DateFormat getDateTimeInstance(sap.ui.core.format.DateFormat.FormatOptions oFormatOptions, sap.ui.core.Locale oLocale);
Exemple #2
0
 /// <summary>
 /// Get a time instance of the DateFormat, which can be used for formatting.
 /// </summary>
 /// <param name="oLocale">Locale to ask for locale specific texts/settings</param>
 /// <returns>time instance of the DateFormat</returns>
 public extern static sap.ui.core.format.DateFormat getTimeInstance(sap.ui.core.Locale oLocale);
 /// <summary>
 /// Get an instance of the FileSizeFormat, which can be used for formatting.
 ///
 /// If no locale is given, the currently configured {@link sap.ui.core.Configuration.FormatSettings#getFormatLocale formatLocale} will be used.
 /// </summary>
 /// <param name="oFormatOptions">Object which defines the format options</param>
 /// <param name="oLocale">Locale to get the formatter for</param>
 /// <returns>instance of the FileSizeFormat</returns>
 public extern static sap.ui.core.format.FileSizeFormat getInstance(object oFormatOptions, sap.ui.core.Locale oLocale);
 /// <summary>
 /// Get an instance of the FileSizeFormat, which can be used for formatting.
 ///
 /// If no locale is given, the currently configured {@link sap.ui.core.Configuration.FormatSettings#getFormatLocale formatLocale} will be used.
 /// </summary>
 /// <param name="oLocale">Locale to get the formatter for</param>
 /// <returns>instance of the FileSizeFormat</returns>
 public extern static sap.ui.core.format.FileSizeFormat getInstance(sap.ui.core.Locale oLocale);
Exemple #5
0
 /// <summary>
 /// Creates an instance of LocaleData for the given locale.
 /// </summary>
 /// <param name="oLocale">the locale</param>
 public extern LocaleData(sap.ui.core.Locale oLocale);
Exemple #6
0
 /// <summary>
 /// Get a currency instance of the NumberFormat, which can be used for formatting.
 ///
 /// If no locale is given, the currently configured {@link sap.ui.core.Configuration.FormatSettings#getFormatLocale formatLocale} will be used.
 ///
 /// <p> This instance has HALF_AWAY_FROM_ZERO set as default rounding mode. Please set the roundingMode property in oFormatOptions to change the default value. </p>
 /// </summary>
 /// <param name="oFormatOptions">Object which defines the format options</param>
 /// <param name="oLocale">Locale to get the formatter for</param>
 /// <returns>integer instance of the NumberFormat</returns>
 public extern static sap.ui.core.format.NumberFormat getCurrencyInstance(object oFormatOptions, sap.ui.core.Locale oLocale);
Exemple #7
0
 /// <summary>
 /// Get a unit instance of the NumberFormat, which can be used for formatting units.
 ///
 /// If no locale is given, the currently configured {@link sap.ui.core.Configuration.FormatSettings#getFormatLocale formatLocale} will be used.
 ///
 /// <p> This instance has HALF_AWAY_FROM_ZERO set as default rounding mode. Please set the roundingMode property in oFormatOptions to change the default value. </p>
 /// </summary>
 /// <param name="oLocale">Locale to get the formatter for</param>
 /// <returns>unit instance of the NumberFormat</returns>
 public extern static sap.ui.core.format.NumberFormat getUnitInstance(sap.ui.core.Locale oLocale);