다음을 통해 공유


ChineseCalendar Constructors

Definition

Overloads

ChineseCalendar()

Construct a ChineseCalendar with the default time zone and locale.

ChineseCalendar(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

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

ChineseCalendar(Int32, Int32, Int32, Int32, Int32, Int32, Int32)

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

ChineseCalendar(Int32, Int32, Int32, Int32)

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

ChineseCalendar(IntPtr, JniHandleOwnership)
ChineseCalendar(TimeZone, Locale)

Construct a ChineseCalendar based on the current time in the given time zone with the given locale.

ChineseCalendar(Int32, Int32, Int32, Int32, Int32)

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

ChineseCalendar(Locale)

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

ChineseCalendar(Date)

Construct a ChineseCalendar with the give date set in the default time zone with the default locale.

ChineseCalendar(ULocale)

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

ChineseCalendar(TimeZone)

Construct a ChineseCalendar based on the current time in the given time zone with the default FORMAT locale.

ChineseCalendar(TimeZone, ULocale)

Construct a ChineseCalendar based on the current time with the given time zone with the given locale.

ChineseCalendar()

Construct a ChineseCalendar with the default time zone and locale.

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

Remarks

Construct a ChineseCalendar with the default time zone and locale.

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

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

ChineseCalendar(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

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

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

Parameters

era
Int32

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

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 January.

isLeapMonth
Int32

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

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 a ChineseCalendar with the given date and time set for the default time zone with the default FORMAT locale.

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

ChineseCalendar(Int32, Int32, Int32, Int32, Int32, Int32, Int32)

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

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

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 January.

isLeapMonth
Int32

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

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 a ChineseCalendar with the given date and time set for the default time zone with the default FORMAT locale.

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

ChineseCalendar(Int32, Int32, Int32, Int32)

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

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

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 January.

isLeapMonth
Int32

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

date
Int32

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

Attributes

Remarks

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

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

ChineseCalendar(IntPtr, JniHandleOwnership)

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

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

ChineseCalendar(TimeZone, Locale)

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

Parameters

zone
TimeZone

the given time zone

aLocale
Locale

the given locale

Attributes

Remarks

Construct a ChineseCalendar based on the current time in the given time zone with the given locale.

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

ChineseCalendar(Int32, Int32, Int32, Int32, Int32)

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

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

Parameters

era
Int32

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

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 January.

isLeapMonth
Int32

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

date
Int32

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

Attributes

Remarks

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

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

ChineseCalendar(Locale)

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

Parameters

aLocale
Locale

The given locale

Attributes

Remarks

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

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

ChineseCalendar(Date)

Construct a ChineseCalendar with the give date set in the default time zone with the default locale.

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

Parameters

date
Date

The date to which the new calendar is set.

Attributes

Remarks

Construct a ChineseCalendar with the give date set in the default time zone with the default locale.

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

ChineseCalendar(ULocale)

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

Parameters

locale
ULocale

the given ulocale

Attributes

Remarks

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

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

ChineseCalendar(TimeZone)

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

Parameters

zone
TimeZone

the given time zone

Attributes

Remarks

Construct a ChineseCalendar based on the current time in the given time zone with the default FORMAT locale.

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

ChineseCalendar(TimeZone, ULocale)

Construct a ChineseCalendar based on the current time with the given time zone with the given locale.

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

Parameters

zone
TimeZone

the given time zone

locale
ULocale

the given ulocale

Attributes

Remarks

Construct a ChineseCalendar based on the current time with the given time zone with the given locale.

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