다음을 통해 공유


Calendar Constructors

Definition

Overloads

Calendar()

Constructs a Calendar with the default time zone and the default FORMAT locale.

Calendar(TimeZone, ULocale)

Constructs a calendar with the specified time zone and locale.

Calendar(TimeZone, Locale)

Constructs a calendar with the specified time zone and locale.

Calendar(IntPtr, JniHandleOwnership)

Calendar()

Constructs a Calendar with the default time zone and the default FORMAT locale.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
protected Calendar ();
Attributes

Remarks

Constructs a Calendar with the default time zone and the default FORMAT locale.

Java documentation for android.icu.util.Calendar.Calendar().

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

Calendar(TimeZone, ULocale)

Constructs a calendar with the specified time zone and locale.

[Android.Runtime.Register(".ctor", "(Landroid/icu/util/TimeZone;Landroid/icu/util/ULocale;)V", "", ApiSince=24)]
protected Calendar (Android.Icu.Util.TimeZone? zone, Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register(".ctor", "(Landroid/icu/util/TimeZone;Landroid/icu/util/ULocale;)V", "", ApiSince=24)>]
new Android.Icu.Util.Calendar : Android.Icu.Util.TimeZone * Android.Icu.Util.ULocale -> Android.Icu.Util.Calendar

Parameters

zone
TimeZone

the time zone to use

locale
ULocale

the ulocale for the week data

Attributes

Remarks

Constructs a calendar with the specified time zone and locale.

Java documentation for android.icu.util.Calendar.Calendar(android.icu.util.TimeZone, android.icu.util.ULocale).

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

Calendar(TimeZone, Locale)

Constructs a calendar with the specified time zone and locale.

[Android.Runtime.Register(".ctor", "(Landroid/icu/util/TimeZone;Ljava/util/Locale;)V", "", ApiSince=24)]
protected Calendar (Android.Icu.Util.TimeZone? zone, Java.Util.Locale? aLocale);
[<Android.Runtime.Register(".ctor", "(Landroid/icu/util/TimeZone;Ljava/util/Locale;)V", "", ApiSince=24)>]
new Android.Icu.Util.Calendar : Android.Icu.Util.TimeZone * Java.Util.Locale -> Android.Icu.Util.Calendar

Parameters

zone
TimeZone

the time zone to use

aLocale
Locale

the locale for the week data

Attributes

Remarks

Constructs a calendar with the specified time zone and locale.

Java documentation for android.icu.util.Calendar.Calendar(android.icu.util.TimeZone, 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.

Applies to

Calendar(IntPtr, JniHandleOwnership)

protected Calendar (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Icu.Util.Calendar : nativeint * Android.Runtime.JniHandleOwnership -> Android.Icu.Util.Calendar

Parameters

javaReference
IntPtr

nativeint

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