DateTimePatternGenerator.GetBaseSkeleton(String) 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.
Utility to return a unique base skeleton from a given pattern.
[Android.Runtime.Register("getBaseSkeleton", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetBaseSkeleton_Ljava_lang_String_Handler", ApiSince=24)]
public virtual string? GetBaseSkeleton (string? pattern);
[<Android.Runtime.Register("getBaseSkeleton", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetBaseSkeleton_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member GetBaseSkeleton : string -> string
override this.GetBaseSkeleton : string -> string
Parameters
- pattern
- String
Input pattern, such as "dd/MMM"
Returns
skeleton, such as "MMMdd"
- Attributes
Remarks
Utility to return a unique base skeleton from a given pattern. This is the same as the skeleton, except that differences in length are minimized so as to only preserve the difference between string and numeric form. So for example, both "MMM-dd" and "d/MMM" produce the skeleton "MMMd" (notice the single d).
Java documentation for android.icu.text.DateTimePatternGenerator.getBaseSkeleton(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.