Condividi tramite


DateFormat.DateInstance Property

Definition

Gets the date formatter with the default formatting style for the default java.util.Locale.Category#FORMAT FORMAT locale.

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

Property Value

a date formatter.

Attributes

Remarks

Gets the date formatter with the default formatting style for the default java.util.Locale.Category#FORMAT FORMAT locale.

This is equivalent to calling #getDateInstance(int, Locale) getDateInstance(DEFAULT, Locale.getDefault(Locale.Category.FORMAT)).

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

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