Freigeben über


DateFormat.GetInstance Method

Definition

Overloads

GetInstance(Calendar, Locale)
GetInstance(Calendar)
GetInstance(Calendar, ULocale)

GetInstance(Calendar, Locale)

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

Parameters

cal
Calendar
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

GetInstance(Calendar)

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

Parameters

cal
Calendar

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

GetInstance(Calendar, ULocale)

[Android.Runtime.Register("getInstance", "(Landroid/icu/util/Calendar;Landroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "", ApiSince=33)]
public static Android.Icu.Text.DateFormat? GetInstance (Android.Icu.Util.Calendar? cal, Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("getInstance", "(Landroid/icu/util/Calendar;Landroid/icu/util/ULocale;)Landroid/icu/text/DateFormat;", "", ApiSince=33)>]
static member GetInstance : Android.Icu.Util.Calendar * Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormat

Parameters

cal
Calendar
locale
ULocale

Returns

Attributes

Applies to