NumberFormatterSettings.ToSkeleton 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.
Creates a skeleton string representation of this number formatter.
[Android.Runtime.Register("toSkeleton", "()Ljava/lang/String;", "GetToSkeletonHandler", ApiSince=37)]
public virtual string? ToSkeleton();
[<Android.Runtime.Register("toSkeleton", "()Ljava/lang/String;", "GetToSkeletonHandler", ApiSince=37)>]
abstract member ToSkeleton : unit -> string
override this.ToSkeleton : unit -> string
Returns
A number skeleton string with behavior corresponding to this number formatter.
- Attributes
Remarks
Creates a skeleton string representation of this number formatter. A skeleton string is a locale-agnostic serialized form of a number formatter.
Not all options are capable of being represented in the skeleton string; for example, a DecimalFormatSymbols object. If any such option is encountered, an UnsupportedOperationException is thrown.
The returned skeleton is in normalized form, such that two number formatters with equivalent behavior should produce the same skeleton.
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.NumberFormatterSettings.toSkeleton.
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.