SimpleDateFormat.ToPattern Method

Definition

Returns a pattern string describing this date format.

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

Returns

a pattern string describing this date format.

Attributes

Remarks

Returns a pattern string describing this date format.

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