Java.Text.DateFormat.GetDateTimeInstance Method
Returns a DateFormat instance for formatting and parsing dates and time values in the specified styles for the specified locale.

Syntax

[Android.Runtime.Register("getDateTimeInstance", "(IILjava/util/Locale;)Ljava/text/DateFormat;", "")]
public static DateFormat GetDateTimeInstance (int dateStyle, int timeStyle, Java.Util.Locale locale)

Parameters

dateStyle
one of SHORT, MEDIUM, LONG, FULL, or DEFAULT.
timeStyle
one of SHORT, MEDIUM, LONG, FULL, or DEFAULT.
locale
the locale.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif dateStyle or timeStyle is not one of SHORT, MEDIUM, LONG, FULL, or DEFAULT.

Remarks

Returns a DateFormat instance for formatting and parsing dates and time values in the specified styles for the specified locale.

[Android Documentation]

Requirements

Namespace: Java.Text
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1