Language

NumberFormatter.ForSkeleton(String) Method

Definition

Call this method at the beginning of a NumberFormatter fluent chain to create an instance based on a given number skeleton string.

[Android.Runtime.Register("forSkeleton", "(Ljava/lang/String;)Landroid/icu/number/UnlocalizedNumberFormatter;", "", ApiSince=37)]
public static Android.Icu.Number.UnlocalizedNumberFormatter? ForSkeleton(string? skeleton);
[<Android.Runtime.Register("forSkeleton", "(Ljava/lang/String;)Landroid/icu/number/UnlocalizedNumberFormatter;", "", ApiSince=37)>]
static member ForSkeleton : string -> Android.Icu.Number.UnlocalizedNumberFormatter

Parameters

skeleton
String

The skeleton string off of which to base this NumberFormatter.

Returns

An UnlocalizedNumberFormatter, to be used for chaining.

Attributes

Remarks

Call this method at the beginning of a NumberFormatter fluent chain to create an instance based on a given number skeleton string. For more information on number skeleton strings, see: https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html

Android reference for android.icu.number.NumberFormatter.forSkeleton.

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