DateFormat.GetMediumDateFormat(Context) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a java.text.DateFormat
object that can format the date
in medium form (such as Jan 3, 2000
) for the context's locale.
[Android.Runtime.Register("getMediumDateFormat", "(Landroid/content/Context;)Ljava/text/DateFormat;", "")]
public static Java.Text.DateFormat? GetMediumDateFormat (Android.Content.Context? context);
[<Android.Runtime.Register("getMediumDateFormat", "(Landroid/content/Context;)Ljava/text/DateFormat;", "")>]
static member GetMediumDateFormat : 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 medium form (such as Jan 3, 2000
) for the context's locale.
Java documentation for android.text.format.DateFormat.getMediumDateFormat(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.