Freigeben über


NumberRangeFormatterSettings.NumberFormatterSecond Method

Definition

Sets the NumberFormatter instances to use for the second number in the range.

[Android.Runtime.Register("numberFormatterSecond", "(Landroid/icu/number/UnlocalizedNumberFormatter;)Landroid/icu/number/NumberRangeFormatterSettings;", "GetNumberFormatterSecond_Landroid_icu_number_UnlocalizedNumberFormatter_Handler", ApiSince=30)]
public virtual Java.Lang.Object? NumberFormatterSecond (Android.Icu.Number.UnlocalizedNumberFormatter? formatterSecond);
[<Android.Runtime.Register("numberFormatterSecond", "(Landroid/icu/number/UnlocalizedNumberFormatter;)Landroid/icu/number/NumberRangeFormatterSettings;", "GetNumberFormatterSecond_Landroid_icu_number_UnlocalizedNumberFormatter_Handler", ApiSince=30)>]
abstract member NumberFormatterSecond : Android.Icu.Number.UnlocalizedNumberFormatter -> Java.Lang.Object
override this.NumberFormatterSecond : Android.Icu.Number.UnlocalizedNumberFormatter -> Java.Lang.Object

Parameters

formatterSecond
UnlocalizedNumberFormatter

The formatter to use for the second number in the range.

Returns

The fluent chain.

Attributes

Remarks

Sets the NumberFormatter instances to use for the second number in the range.

The NumberFormatter instance must not have a locale applied yet; the locale specified on the NumberRangeFormatter will be used.

Java documentation for android.icu.number.NumberRangeFormatterSettings.numberFormatterSecond(android.icu.number.UnlocalizedNumberFormatter).

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.

Applies to