次の方法で共有


DateFormat.DateTimeInstance Property

Definition

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

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

Property Value

a date/time formatter.

Attributes

Remarks

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

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

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

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