Java.Text.DateFormat.GetTimeInstance Method
Returns a DateFormat instance for formatting and parsing time values in the specified style for the specified locale.

Syntax

[Android.Runtime.Register("getTimeInstance", "(ILjava/util/Locale;)Ljava/text/DateFormat;", "")]
public static DateFormat GetTimeInstance (int style, Java.Util.Locale locale)

Parameters

style
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 style is not one of SHORT, MEDIUM, LONG, FULL, or DEFAULT.

Remarks

Returns a DateFormat instance for formatting and parsing time values in the specified style 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