Share via


DateFormat.Instance Property

Definition

Get a default date/time formatter that uses the SHORT style for both the date and the time.

public static Java.Text.DateFormat Instance { [Android.Runtime.Register("getInstance", "()Ljava/text/DateFormat;", "")] get; }
[<get: Android.Runtime.Register("getInstance", "()Ljava/text/DateFormat;", "")>]
static member Instance : Java.Text.DateFormat

Property Value

a date/time formatter

Attributes

Remarks

Get a default date/time formatter that uses the SHORT style for both the date and the time.

Java documentation for java.text.DateFormat.getInstance().

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