共用方式為


DateFormatSymbols.LocalPatternChars Property

Definition

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

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

Property Value

the localized date-time pattern characters.

Attributes

Exceptions

if data is null

Remarks

Property getter documentation:

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

Java documentation for java.text.DateFormatSymbols.getLocalPatternChars().

Property setter documentation:

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

Java documentation for java.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