Bagikan melalui


Calendar.GetInstance Method

Definition

Overloads

GetInstance(TimeZone, Locale)
GetInstance(TimeZone, ULocale)
GetInstance(TimeZone)
GetInstance(ULocale)
GetInstance(Locale)

GetInstance(TimeZone, Locale)

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

Parameters

zone
TimeZone
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

GetInstance(TimeZone, ULocale)

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

Parameters

zone
TimeZone
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

GetInstance(TimeZone)

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

Parameters

zone
TimeZone

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(ULocale)

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

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

GetInstance(Locale)

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

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