Calendar.HandleGetDateFormat 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.
Overloads
HandleGetDateFormat(String, ULocale) |
Creates a |
HandleGetDateFormat(String, Locale) |
Creates a |
HandleGetDateFormat(String, String, Locale) |
Creates a |
HandleGetDateFormat(String, ULocale)
Creates a DateFormat
appropriate to this calendar.
[Android.Runtime.Register("handleGetDateFormat", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "GetHandleGetDateFormat_Ljava_lang_String_Landroid_icu_util_ULocale_Handler", ApiSince=24)]
protected virtual Android.Icu.Text.DateFormat? HandleGetDateFormat (string? pattern, Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("handleGetDateFormat", "(Ljava/lang/String;Landroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "GetHandleGetDateFormat_Ljava_lang_String_Landroid_icu_util_ULocale_Handler", ApiSince=24)>]
abstract member HandleGetDateFormat : string * Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormat
override this.HandleGetDateFormat : string * Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormat
Parameters
- pattern
- String
the pattern, specific to the DateFormat
subclass
- locale
- ULocale
the locale for which the symbols should be drawn
Returns
a DateFormat
appropriate to this calendar
- Attributes
Remarks
Creates a DateFormat
appropriate to this calendar. This is a framework method for subclasses to override. This method is responsible for creating the calendar-specific DateFormat and DateFormatSymbols objects as needed.
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
HandleGetDateFormat(String, Locale)
Creates a DateFormat
appropriate to this calendar.
[Android.Runtime.Register("handleGetDateFormat", "(Ljava/lang/String;Ljava/util/Locale;)Landroid/icu/text/DateFormat;", "GetHandleGetDateFormat_Ljava_lang_String_Ljava_util_Locale_Handler", ApiSince=24)]
protected virtual Android.Icu.Text.DateFormat? HandleGetDateFormat (string? pattern, Java.Util.Locale? locale);
[<Android.Runtime.Register("handleGetDateFormat", "(Ljava/lang/String;Ljava/util/Locale;)Landroid/icu/text/DateFormat;", "GetHandleGetDateFormat_Ljava_lang_String_Ljava_util_Locale_Handler", ApiSince=24)>]
abstract member HandleGetDateFormat : string * Java.Util.Locale -> Android.Icu.Text.DateFormat
override this.HandleGetDateFormat : string * Java.Util.Locale -> Android.Icu.Text.DateFormat
Parameters
- pattern
- String
the pattern, specific to the DateFormat
subclass
- locale
- Locale
the locale for which the symbols should be drawn
Returns
a DateFormat
appropriate to this calendar
- Attributes
Remarks
Creates a DateFormat
appropriate to this calendar. This is a framework method for subclasses to override. This method is responsible for creating the calendar-specific DateFormat and DateFormatSymbols objects as needed.
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
HandleGetDateFormat(String, String, Locale)
Creates a DateFormat
appropriate to this calendar.
[Android.Runtime.Register("handleGetDateFormat", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/Locale;)Landroid/icu/text/DateFormat;", "GetHandleGetDateFormat_Ljava_lang_String_Ljava_lang_String_Ljava_util_Locale_Handler", ApiSince=24)]
protected virtual Android.Icu.Text.DateFormat? HandleGetDateFormat (string? pattern, string? override, Java.Util.Locale? locale);
[<Android.Runtime.Register("handleGetDateFormat", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/Locale;)Landroid/icu/text/DateFormat;", "GetHandleGetDateFormat_Ljava_lang_String_Ljava_lang_String_Ljava_util_Locale_Handler", ApiSince=24)>]
abstract member HandleGetDateFormat : string * string * Java.Util.Locale -> Android.Icu.Text.DateFormat
override this.HandleGetDateFormat : string * string * Java.Util.Locale -> Android.Icu.Text.DateFormat
Parameters
- pattern
- String
the pattern, specific to the DateFormat
subclass
- override
- String
The override string. A numbering system override string can take one of the following forms: 1). If just a numbering system name is specified, it applies to all numeric fields in the date format pattern. 2). To specify an alternate numbering system on a field by field basis, use the field letters from the pattern followed by an = sign, followed by the numbering system name. For example, to specify that just the year be formatted using Hebrew digits, use the override "y=hebr". Multiple overrides can be specified in a single string by separating them with a semi-colon. For example, the override string "m=thai;y=deva" would format using Thai digits for the month and Devanagari digits for the year.
- locale
- Locale
the locale for which the symbols should be drawn
Returns
a DateFormat
appropriate to this calendar
- Attributes
Remarks
Creates a DateFormat
appropriate to this calendar. This is a framework method for subclasses to override. This method is responsible for creating the calendar-specific DateFormat and DateFormatSymbols objects as needed.
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.