DateFormat.GetLongDateFormat(Context) Method

Definition

Returns a java.text.DateFormat object that can format the date in long form (such as Monday, January 3, 2000) for the context's locale.

[Android.Runtime.Register("getLongDateFormat", "(Landroid/content/Context;)Ljava/text/DateFormat;", "")]
public static Java.Text.DateFormat? GetLongDateFormat (Android.Content.Context? context);
[<Android.Runtime.Register("getLongDateFormat", "(Landroid/content/Context;)Ljava/text/DateFormat;", "")>]
static member GetLongDateFormat : Android.Content.Context -> Java.Text.DateFormat

Parameters

context
Context

the application context

Returns

the java.text.DateFormat object that formats the date in long form.

Attributes

Remarks

Returns a java.text.DateFormat object that can format the date in long form (such as Monday, January 3, 2000) for the context's locale.

Java documentation for android.text.format.DateFormat.getLongDateFormat(android.content.Context).

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