Compartilhar via


CopticCalendar Constructors

Definition

Overloads

CopticCalendar()

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

CopticCalendar(TimeZone)

Constructs a CopticCalendar based on the current time in the given time zone with the default locale.

CopticCalendar(ULocale)

Constructs a CopticCalendar based on the current time in the default time zone with the given locale.

CopticCalendar(Date)

Constructs a CopticCalendar with the given date set in the default time zone with the default locale.

CopticCalendar(Locale)

Constructs a CopticCalendar based on the current time in the default time zone with the given locale.

CopticCalendar(TimeZone, ULocale)

Constructs a CopticCalendar based on the current time in the given time zone with the given locale.

CopticCalendar(TimeZone, Locale)

Constructs a CopticCalendar based on the current time in the given time zone with the given locale.

CopticCalendar(Int32, Int32, Int32)

Constructs a CopticCalendar with the given date set in the default time zone with the default locale.

CopticCalendar(Int32, Int32, Int32, Int32, Int32, Int32)

Constructs a CopticCalendar with the given date and time set for the default time zone with the default locale.

CopticCalendar()

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

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

Remarks

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

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

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

CopticCalendar(TimeZone)

Constructs a CopticCalendar based on the current time in the given time zone with the default locale.

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

Parameters

zone
TimeZone

The time zone for the new calendar.

Attributes

Remarks

Constructs a CopticCalendar based on the current time in the given time zone with the default locale.

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

CopticCalendar(ULocale)

Constructs a CopticCalendar 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 CopticCalendar (Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register(".ctor", "(Landroid/icu/util/ULocale;)V", "", ApiSince=24)>]
new Android.Icu.Util.CopticCalendar : Android.Icu.Util.ULocale -> Android.Icu.Util.CopticCalendar

Parameters

locale
ULocale

The icu locale for the new calendar.

Attributes

Remarks

Constructs a CopticCalendar based on the current time in the default time zone with the given locale.

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

CopticCalendar(Date)

Constructs a CopticCalendar with the given date set in the default time zone with the default locale.

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

Parameters

date
Date

The date to which the new calendar is set.

Attributes

Remarks

Constructs a CopticCalendar with the given date set in the default time zone with the default locale.

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

CopticCalendar(Locale)

Constructs a CopticCalendar 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 CopticCalendar (Java.Util.Locale? aLocale);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Locale;)V", "", ApiSince=24)>]
new Android.Icu.Util.CopticCalendar : Java.Util.Locale -> Android.Icu.Util.CopticCalendar

Parameters

aLocale
Locale

The locale for the new calendar.

Attributes

Remarks

Constructs a CopticCalendar based on the current time in the default time zone with the given locale.

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

CopticCalendar(TimeZone, ULocale)

Constructs a CopticCalendar 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 CopticCalendar (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.CopticCalendar : Android.Icu.Util.TimeZone * Android.Icu.Util.ULocale -> Android.Icu.Util.CopticCalendar

Parameters

zone
TimeZone

The time zone for the new calendar.

locale
ULocale

The icu locale for the new calendar.

Attributes

Remarks

Constructs a CopticCalendar based on the current time in the given time zone with the given locale.

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

CopticCalendar(TimeZone, Locale)

Constructs a CopticCalendar 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 CopticCalendar (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.CopticCalendar : Android.Icu.Util.TimeZone * Java.Util.Locale -> Android.Icu.Util.CopticCalendar

Parameters

zone
TimeZone

The time zone for the new calendar.

aLocale
Locale

The locale for the new calendar.

Attributes

Remarks

Constructs a CopticCalendar based on the current time in the given time zone with the given locale.

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

CopticCalendar(Int32, Int32, Int32)

Constructs a CopticCalendar with the given date set in the default time zone with the default locale.

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

Parameters

year
Int32

The value used to set the calendar's #YEAR YEAR time field.

month
Int32

The value used to set the calendar's #MONTH MONTH time field. The value is 0-based. e.g., 0 for Tout.

date
Int32

The value used to set the calendar's #DATE DATE time field.

Attributes

Remarks

Constructs a CopticCalendar with the given date set in the default time zone with the default locale.

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

CopticCalendar(Int32, Int32, Int32, Int32, Int32, Int32)

Constructs a CopticCalendar with the given date and time set for the default time zone with the default locale.

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

Parameters

year
Int32

The value used to set the calendar's #YEAR YEAR time field.

month
Int32

The value used to set the calendar's #MONTH MONTH time field. The value is 0-based. e.g., 0 for Tout.

date
Int32

The value used to set the calendar's #DATE DATE time field.

hour
Int32

The value used to set the calendar's #HOUR_OF_DAY HOUR_OF_DAY time field.

minute
Int32

The value used to set the calendar's #MINUTE MINUTE time field.

second
Int32

The value used to set the calendar's #SECOND SECOND time field.

Attributes

Remarks

Constructs a CopticCalendar with the given date and time set for the default time zone with the default locale.

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