Udostępnij za pośrednictwem


IslamicCalendar Constructors

Definition

Overloads

IslamicCalendar()

Constructs a default IslamicCalendar using the current time in the default time zone with the default FORMAT locale.

IslamicCalendar(TimeZone)

Constructs an IslamicCalendar based on the current time in the given time zone with the default FORMAT locale.

IslamicCalendar(ULocale)

Constructs an IslamicCalendar based on the current time in the default time zone with the given locale.

IslamicCalendar(Date)

Constructs an IslamicCalendar with the given date set in the default time zone with the default FORMAT locale.

IslamicCalendar(Locale)

Constructs an IslamicCalendar based on the current time in the default time zone with the given locale.

IslamicCalendar(TimeZone, ULocale)

Constructs an IslamicCalendar based on the current time in the given time zone with the given locale.

IslamicCalendar(TimeZone, Locale)

Constructs an IslamicCalendar based on the current time in the given time zone with the given locale.

IslamicCalendar(IntPtr, JniHandleOwnership)
IslamicCalendar(Int32, Int32, Int32)

Constructs an IslamicCalendar with the given date set in the default time zone with the default FORMAT locale.

IslamicCalendar(Int32, Int32, Int32, Int32, Int32, Int32)

Constructs an IslamicCalendar with the given date and time set for the default time zone with the default FORMAT locale.

IslamicCalendar()

Constructs a default IslamicCalendar using the current time in the default time zone with the default FORMAT locale.

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

Remarks

Constructs a default IslamicCalendar using the current time in the default time zone with the default FORMAT locale.

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

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

IslamicCalendar(TimeZone)

Constructs an IslamicCalendar based on the current time in the given time zone with the default FORMAT locale.

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

Parameters

zone
TimeZone

the given time zone.

Attributes

Remarks

Constructs an IslamicCalendar based on the current time in the given time zone with the default FORMAT locale.

Java documentation for android.icu.util.IslamicCalendar.IslamicCalendar(android.icu.util.TimeZone).

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

IslamicCalendar(ULocale)

Constructs an IslamicCalendar based on the current time in the default time zone with the given locale.

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

Parameters

locale
ULocale

the given ulocale.

Attributes

Remarks

Constructs an IslamicCalendar based on the current time in the default time zone with the given locale.

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

IslamicCalendar(Date)

Constructs an IslamicCalendar with the given date set in the default time zone with the default FORMAT locale.

[Android.Runtime.Register(".ctor", "(Ljava/util/Date;)V", "", ApiSince=24)]
public IslamicCalendar (Java.Util.Date? date);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Date;)V", "", ApiSince=24)>]
new Android.Icu.Util.IslamicCalendar : Java.Util.Date -> Android.Icu.Util.IslamicCalendar

Parameters

date
Date

The date to which the new calendar is set.

Attributes

Remarks

Constructs an IslamicCalendar with the given date set in the default time zone with the default FORMAT locale.

Java documentation for android.icu.util.IslamicCalendar.IslamicCalendar(java.util.Date).

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

IslamicCalendar(Locale)

Constructs an IslamicCalendar based on the current time in the default time zone with the given locale.

[Android.Runtime.Register(".ctor", "(Ljava/util/Locale;)V", "", ApiSince=24)]
public IslamicCalendar (Java.Util.Locale? aLocale);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Locale;)V", "", ApiSince=24)>]
new Android.Icu.Util.IslamicCalendar : Java.Util.Locale -> Android.Icu.Util.IslamicCalendar

Parameters

aLocale
Locale

the given locale.

Attributes

Remarks

Constructs an IslamicCalendar based on the current time in the default time zone with the given locale.

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

IslamicCalendar(TimeZone, ULocale)

Constructs an IslamicCalendar based on the current time in the given time zone with the given locale.

[Android.Runtime.Register(".ctor", "(Landroid/icu/util/TimeZone;Landroid/icu/util/ULocale;)V", "", ApiSince=24)]
public IslamicCalendar (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.IslamicCalendar : Android.Icu.Util.TimeZone * Android.Icu.Util.ULocale -> Android.Icu.Util.IslamicCalendar

Parameters

zone
TimeZone

the given time zone.

locale
ULocale

the given ulocale.

Attributes

Remarks

Constructs an IslamicCalendar based on the current time in the given time zone with the given locale.

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

IslamicCalendar(TimeZone, Locale)

Constructs an IslamicCalendar based on the current time in the given time zone with the given locale.

[Android.Runtime.Register(".ctor", "(Landroid/icu/util/TimeZone;Ljava/util/Locale;)V", "", ApiSince=24)]
public IslamicCalendar (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.IslamicCalendar : Android.Icu.Util.TimeZone * Java.Util.Locale -> Android.Icu.Util.IslamicCalendar

Parameters

zone
TimeZone

the given time zone.

aLocale
Locale

the given locale.

Attributes

Remarks

Constructs an IslamicCalendar based on the current time in the given time zone with the given locale.

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

IslamicCalendar(IntPtr, JniHandleOwnership)

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

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

IslamicCalendar(Int32, Int32, Int32)

Constructs an IslamicCalendar with the given date set in the default time zone with the default FORMAT locale.

[Android.Runtime.Register(".ctor", "(III)V", "", ApiSince=24)]
public IslamicCalendar (int year, int month, int date);
[<Android.Runtime.Register(".ctor", "(III)V", "", ApiSince=24)>]
new Android.Icu.Util.IslamicCalendar : int * int * int -> Android.Icu.Util.IslamicCalendar

Parameters

year
Int32

the value used to set the #YEAR YEAR time field in the calendar.

month
Int32

the value used to set the #MONTH MONTH time field in the calendar. Note that the month value is 0-based. e.g., 0 for Muharram.

date
Int32

the value used to set the #DATE DATE time field in the calendar.

Attributes

Remarks

Constructs an IslamicCalendar with the given date set in the default time zone with the default FORMAT locale.

Java documentation for android.icu.util.IslamicCalendar.IslamicCalendar(int, int, int).

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

IslamicCalendar(Int32, Int32, Int32, Int32, Int32, Int32)

Constructs an IslamicCalendar with the given date and time set for the default time zone with the default FORMAT locale.

[Android.Runtime.Register(".ctor", "(IIIIII)V", "", ApiSince=24)]
public IslamicCalendar (int year, int month, int date, int hour, int minute, int second);
[<Android.Runtime.Register(".ctor", "(IIIIII)V", "", ApiSince=24)>]
new Android.Icu.Util.IslamicCalendar : int * int * int * int * int * int -> Android.Icu.Util.IslamicCalendar

Parameters

year
Int32

the value used to set the #YEAR YEAR time field in the calendar.

month
Int32

the value used to set the #MONTH MONTH time field in the calendar. Note that the month value is 0-based. e.g., 0 for Muharram.

date
Int32

the value used to set the #DATE DATE time field in the calendar.

hour
Int32

the value used to set the #HOUR_OF_DAY HOUR_OF_DAY time field in the calendar.

minute
Int32

the value used to set the #MINUTE MINUTE time field in the calendar.

second
Int32

the value used to set the #SECOND SECOND time field in the calendar.

Attributes

Remarks

Constructs an IslamicCalendar with the given date and time set for the default time zone with the default FORMAT locale.

Java documentation for android.icu.util.IslamicCalendar.IslamicCalendar(int, int, int, int, int, int).

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