다음을 통해 공유


SimpleDateFormat.ApplyLocalizedPattern(String) Method

Definition

Applies the given localized pattern string to this date format.

[Android.Runtime.Register("applyLocalizedPattern", "(Ljava/lang/String;)V", "GetApplyLocalizedPattern_Ljava_lang_String_Handler")]
public virtual void ApplyLocalizedPattern (string? pattern);
[<Android.Runtime.Register("applyLocalizedPattern", "(Ljava/lang/String;)V", "GetApplyLocalizedPattern_Ljava_lang_String_Handler")>]
abstract member ApplyLocalizedPattern : string -> unit
override this.ApplyLocalizedPattern : string -> unit

Parameters

pattern
String

a String to be mapped to the new date and time format pattern for this format

Attributes

Remarks

Applies the given localized pattern string to this date format.

Java documentation for java.text.SimpleDateFormat.applyLocalizedPattern(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