共用方式為


TaiwanCalendar Constructors

Definition

Overloads

TaiwanCalendar()

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

TaiwanCalendar(TimeZone)

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

TaiwanCalendar(ULocale)

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

TaiwanCalendar(Date)

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

TaiwanCalendar(Locale)

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

TaiwanCalendar(TimeZone, ULocale)

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

TaiwanCalendar(TimeZone, Locale)

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

TaiwanCalendar(IntPtr, JniHandleOwnership)
TaiwanCalendar(Int32, Int32, Int32)

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

TaiwanCalendar(Int32, Int32, Int32, Int32, Int32, Int32)

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

TaiwanCalendar()

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

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

Remarks

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

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

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

TaiwanCalendar(TimeZone)

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

Parameters

zone
TimeZone

the given time zone.

Attributes

Remarks

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

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

TaiwanCalendar(ULocale)

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

Parameters

locale
ULocale

the given ulocale.

Attributes

Remarks

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

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

TaiwanCalendar(Date)

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

Parameters

date
Date

The date to which the new calendar is set.

Attributes

Remarks

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

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

TaiwanCalendar(Locale)

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

Parameters

aLocale
Locale

the given locale.

Attributes

Remarks

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

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

TaiwanCalendar(TimeZone, ULocale)

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

Parameters

zone
TimeZone

the given time zone.

locale
ULocale

the given ulocale.

Attributes

Remarks

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

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

TaiwanCalendar(TimeZone, Locale)

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

Parameters

zone
TimeZone

the given time zone.

aLocale
Locale
Attributes

Remarks

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

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

TaiwanCalendar(IntPtr, JniHandleOwnership)

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

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

TaiwanCalendar(Int32, Int32, Int32)

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

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

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.

date
Int32

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

Attributes

Remarks

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

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

TaiwanCalendar(Int32, Int32, Int32, Int32, Int32, Int32)

Constructs a TaiwanCalendar 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 TaiwanCalendar (int year, int month, int date, int hour, int minute, int second);
[<Android.Runtime.Register(".ctor", "(IIIIII)V", "", ApiSince=24)>]
new Android.Icu.Util.TaiwanCalendar : int * int * int * int * int * int -> Android.Icu.Util.TaiwanCalendar

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.

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

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