Freigeben über


DateTimePatternGenerator.GetSkeleton(String) Method

Definition

Utility to return a unique skeleton from a given pattern.

[Android.Runtime.Register("getSkeleton", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetSkeleton_Ljava_lang_String_Handler", ApiSince=24)]
public virtual string? GetSkeleton (string? pattern);
[<Android.Runtime.Register("getSkeleton", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetSkeleton_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member GetSkeleton : string -> string
override this.GetSkeleton : string -> string

Parameters

pattern
String

Input pattern, such as "dd/MMM"

Returns

skeleton, such as "MMMdd"

Attributes

Remarks

Utility to return a unique skeleton from a given pattern. For example, both "MMM-dd" and "dd/MMM" produce the skeleton "MMMdd".

Java documentation for android.icu.text.DateTimePatternGenerator.getSkeleton(java.lang.String).

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