Partager via


SimpleDateFormat.ToPattern Method

Definition

Return a pattern string describing this date format.

[Android.Runtime.Register("toPattern", "()Ljava/lang/String;", "GetToPatternHandler", ApiSince=24)]
public virtual string? ToPattern ();
[<Android.Runtime.Register("toPattern", "()Ljava/lang/String;", "GetToPatternHandler", ApiSince=24)>]
abstract member ToPattern : unit -> string
override this.ToPattern : unit -> string

Returns

Attributes

Remarks

Return a pattern string describing this date format.

Java documentation for android.icu.text.SimpleDateFormat.toPattern().

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