Compartilhar via


DateFormat.TimeInstance Property

Definition

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

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

Property Value

a time formatter.

Attributes

Remarks

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

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

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

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