Calendar.GetDateTimeFormat 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
GetDateTimeFormat(DateFormatStyle, Int32, ULocale) |
<strong>[icu]</strong> Returns a |
GetDateTimeFormat(DateFormatStyle, Int32, Locale) |
<strong>[icu]</strong> Returns a |
GetDateTimeFormat(DateFormatStyle, Int32, ULocale)
<strong>[icu]</strong> Returns a DateFormat
appropriate to this calendar.
[Android.Runtime.Register("getDateTimeFormat", "(IILandroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "GetGetDateTimeFormat_IILandroid_icu_util_ULocale_Handler", ApiSince=24)]
public virtual Android.Icu.Text.DateFormat? GetDateTimeFormat (Android.Icu.Text.DateFormatStyle dateStyle, int timeStyle, Android.Icu.Util.ULocale? loc);
[<Android.Runtime.Register("getDateTimeFormat", "(IILandroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "GetGetDateTimeFormat_IILandroid_icu_util_ULocale_Handler", ApiSince=24)>]
abstract member GetDateTimeFormat : Android.Icu.Text.DateFormatStyle * int * Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormat
override this.GetDateTimeFormat : Android.Icu.Text.DateFormatStyle * int * Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormat
Parameters
- dateStyle
- DateFormatStyle
- timeStyle
- Int32
- loc
- ULocale
Returns
- Attributes
Remarks
<strong>[icu]</strong> Returns a DateFormat
appropriate to this calendar. Subclasses wishing to specialize this behavior should override #handleGetDateFormat
.
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
GetDateTimeFormat(DateFormatStyle, Int32, Locale)
<strong>[icu]</strong> Returns a DateFormat
appropriate to this calendar.
[Android.Runtime.Register("getDateTimeFormat", "(IILjava/util/Locale;)Landroid/icu/text/DateFormat;", "GetGetDateTimeFormat_IILjava_util_Locale_Handler", ApiSince=24)]
public virtual Android.Icu.Text.DateFormat? GetDateTimeFormat (Android.Icu.Text.DateFormatStyle dateStyle, int timeStyle, Java.Util.Locale? loc);
[<Android.Runtime.Register("getDateTimeFormat", "(IILjava/util/Locale;)Landroid/icu/text/DateFormat;", "GetGetDateTimeFormat_IILjava_util_Locale_Handler", ApiSince=24)>]
abstract member GetDateTimeFormat : Android.Icu.Text.DateFormatStyle * int * Java.Util.Locale -> Android.Icu.Text.DateFormat
override this.GetDateTimeFormat : Android.Icu.Text.DateFormatStyle * int * Java.Util.Locale -> Android.Icu.Text.DateFormat
Parameters
- dateStyle
- DateFormatStyle
- timeStyle
- Int32
- loc
- Locale
Returns
- Attributes
Remarks
<strong>[icu]</strong> Returns a DateFormat
appropriate to this calendar. Subclasses wishing to specialize this behavior should override #handleGetDateFormat
.
Java documentation for android.icu.util.Calendar.getDateTimeFormat(int, int, java.util.Locale)
.
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.