Share via


DateFormat.GetDateInstance Method

Definition

Overloads

GetDateInstance(Calendar, DateFormatStyle, ULocale)
GetDateInstance(Calendar, DateFormatStyle, Locale)
GetDateInstance(Calendar, DateFormatStyle)
GetDateInstance(DateFormatStyle)
GetDateInstance(DateFormatStyle, ULocale)
GetDateInstance(DateFormatStyle, Locale)

GetDateInstance(Calendar, DateFormatStyle, ULocale)

[Android.Runtime.Register("getDateInstance", "(Landroid/icu/util/Calendar;ILandroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetDateInstance (Android.Icu.Util.Calendar? cal, Android.Icu.Text.DateFormatStyle dateStyle, Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("getDateInstance", "(Landroid/icu/util/Calendar;ILandroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetDateInstance : Android.Icu.Util.Calendar * Android.Icu.Text.DateFormatStyle * Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormat

Parameters

cal
Calendar
dateStyle
DateFormatStyle
locale
ULocale

Returns

Attributes

Remarks

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

GetDateInstance(Calendar, DateFormatStyle, Locale)

[Android.Runtime.Register("getDateInstance", "(Landroid/icu/util/Calendar;ILjava/util/Locale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetDateInstance (Android.Icu.Util.Calendar? cal, Android.Icu.Text.DateFormatStyle dateStyle, Java.Util.Locale? locale);
[<Android.Runtime.Register("getDateInstance", "(Landroid/icu/util/Calendar;ILjava/util/Locale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetDateInstance : Android.Icu.Util.Calendar * Android.Icu.Text.DateFormatStyle * Java.Util.Locale -> Android.Icu.Text.DateFormat

Parameters

cal
Calendar
dateStyle
DateFormatStyle
locale
Locale

Returns

Attributes

Remarks

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

GetDateInstance(Calendar, DateFormatStyle)

[Android.Runtime.Register("getDateInstance", "(Landroid/icu/util/Calendar;I)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetDateInstance (Android.Icu.Util.Calendar? cal, Android.Icu.Text.DateFormatStyle dateStyle);
[<Android.Runtime.Register("getDateInstance", "(Landroid/icu/util/Calendar;I)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetDateInstance : Android.Icu.Util.Calendar * Android.Icu.Text.DateFormatStyle -> Android.Icu.Text.DateFormat

Parameters

cal
Calendar
dateStyle
DateFormatStyle

Returns

Attributes

Remarks

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

GetDateInstance(DateFormatStyle)

[Android.Runtime.Register("getDateInstance", "(I)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetDateInstance (Android.Icu.Text.DateFormatStyle style);
[<Android.Runtime.Register("getDateInstance", "(I)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetDateInstance : Android.Icu.Text.DateFormatStyle -> Android.Icu.Text.DateFormat

Parameters

Returns

Attributes

Remarks

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

GetDateInstance(DateFormatStyle, ULocale)

[Android.Runtime.Register("getDateInstance", "(ILandroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetDateInstance (Android.Icu.Text.DateFormatStyle style, Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("getDateInstance", "(ILandroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetDateInstance : Android.Icu.Text.DateFormatStyle * Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormat

Parameters

locale
ULocale

Returns

Attributes

Remarks

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

GetDateInstance(DateFormatStyle, Locale)

[Android.Runtime.Register("getDateInstance", "(ILjava/util/Locale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormat? GetDateInstance (Android.Icu.Text.DateFormatStyle style, Java.Util.Locale? aLocale);
[<Android.Runtime.Register("getDateInstance", "(ILjava/util/Locale;)Landroid/icu/text/DateFormat;", "", ApiSince=24)>]
static member GetDateInstance : Android.Icu.Text.DateFormatStyle * Java.Util.Locale -> Android.Icu.Text.DateFormat

Parameters

aLocale
Locale

Returns

Attributes

Remarks

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