NumberRangeFormatterSettings.NumberFormatterBoth Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the NumberFormatter instance to use for the numbers in the range.
[Android.Runtime.Register("numberFormatterBoth", "(Landroid/icu/number/UnlocalizedNumberFormatter;)Landroid/icu/number/NumberRangeFormatterSettings;", "GetNumberFormatterBoth_Landroid_icu_number_UnlocalizedNumberFormatter_Handler", ApiSince=30)]
public virtual Java.Lang.Object? NumberFormatterBoth (Android.Icu.Number.UnlocalizedNumberFormatter? formatter);
[<Android.Runtime.Register("numberFormatterBoth", "(Landroid/icu/number/UnlocalizedNumberFormatter;)Landroid/icu/number/NumberRangeFormatterSettings;", "GetNumberFormatterBoth_Landroid_icu_number_UnlocalizedNumberFormatter_Handler", ApiSince=30)>]
abstract member NumberFormatterBoth : Android.Icu.Number.UnlocalizedNumberFormatter -> Java.Lang.Object
override this.NumberFormatterBoth : Android.Icu.Number.UnlocalizedNumberFormatter -> Java.Lang.Object
Parameters
- formatter
- UnlocalizedNumberFormatter
The formatter to use for both numbers in the range.
Returns
The fluent chain.
- Attributes
Remarks
Sets the NumberFormatter instance to use for the numbers in the range. The same formatter is applied to both sides of the range.
The NumberFormatter instances must not have a locale applied yet; the locale specified on the NumberRangeFormatter will be used.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.