Partager via


DateFormatSymbols.LocalPatternChars Property

Definition

Returns localized date-time pattern characters. -or- Sets localized date-time pattern characters.

public virtual string? LocalPatternChars { [Android.Runtime.Register("getLocalPatternChars", "()Ljava/lang/String;", "GetGetLocalPatternCharsHandler", ApiSince=24)] get; [Android.Runtime.Register("setLocalPatternChars", "(Ljava/lang/String;)V", "GetSetLocalPatternChars_Ljava_lang_String_Handler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getLocalPatternChars", "()Ljava/lang/String;", "GetGetLocalPatternCharsHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setLocalPatternChars", "(Ljava/lang/String;)V", "GetSetLocalPatternChars_Ljava_lang_String_Handler", ApiSince=24)>]
member this.LocalPatternChars : string with get, set

Property Value

the localized date-time pattern characters.

Attributes

Remarks

Property getter documentation:

Returns localized date-time pattern characters. For example: 'u', 't', etc.

Note: ICU no longer provides localized date-time pattern characters for a locale starting ICU 3.8. This method returns the non-localized date-time pattern characters unless user defined localized data is set by setLocalPatternChars.

Java documentation for android.icu.text.DateFormatSymbols.getLocalPatternChars().

Property setter documentation:

Sets localized date-time pattern characters. For example: 'u', 't', etc.

Java documentation for android.icu.text.DateFormatSymbols.setLocalPatternChars(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