Język

ChineseCalendar.HandleGetDateFormat(String, String, ULocale) Method

Definition

Creates a formatter for Chinese calendar dates with the specified pattern, numbering override, and locale.

[Android.Runtime.Register("handleGetDateFormat", "(Ljava/lang/String;Ljava/lang/String;Landroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "GetHandleGetDateFormat_Ljava_lang_String_Ljava_lang_String_Landroid_icu_util_ULocale_Handler", ApiSince=24)]
protected virtual Android.Icu.Text.DateFormat? HandleGetDateFormat(string? pattern, string? override, Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("handleGetDateFormat", "(Ljava/lang/String;Ljava/lang/String;Landroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "GetHandleGetDateFormat_Ljava_lang_String_Ljava_lang_String_Landroid_icu_util_ULocale_Handler", ApiSince=24)>]
override this.HandleGetDateFormat : string * string * Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormat

Parameters

pattern
String

The date format pattern to use.

override
String

The numbering-system override for numeric pattern fields, or null to use the normal numbering system.

locale
ULocale

The locale used to obtain date format symbols.

Returns

A date formatter that uses this calendar and the specified format settings.

Attributes

Remarks

This override delegates to the base calendar formatter, which uses SimpleDateFormat for Chinese calendar dates.

Java documentation for android.icu.util.ChineseCalendar.handleGetDateFormat(java.lang.String, java.lang.String, android.icu.util.ULocale).

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