Partager via


DateFormat.Instance Property

Definition

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

public static Android.Icu.Text.DateFormat? Instance { [Android.Runtime.Register("getInstance", "()Landroid/icu/text/DateFormat;", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getInstance", "()Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member Instance : Android.Icu.Text.DateFormat

Property Value

Attributes

Remarks

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

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