CECalendar Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CECalendar() |
Constructs a default |
CECalendar(TimeZone) |
Constructs a |
CECalendar(ULocale) |
Constructs a |
CECalendar(Date) |
Constructs a |
CECalendar(Locale) |
Constructs a |
CECalendar(TimeZone, ULocale) |
Constructs a |
CECalendar(TimeZone, Locale) |
Constructs a |
CECalendar(IntPtr, JniHandleOwnership) | |
CECalendar(Int32, Int32, Int32) |
Constructs a |
CECalendar(Int32, Int32, Int32, Int32, Int32, Int32) |
Constructs a |
CECalendar()
Constructs a default CECalendar
using the current time
in the default time zone with the default FORMAT
locale.
[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
protected CECalendar ();
- Attributes
Remarks
Constructs a default CECalendar
using the current time in the default time zone with the default FORMAT
locale.
Java documentation for android.icu.util.CECalendar.CECalendar()
.
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
CECalendar(TimeZone)
Constructs a CECalendar
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)]
protected CECalendar (Android.Icu.Util.TimeZone? zone);
[<Android.Runtime.Register(".ctor", "(Landroid/icu/util/TimeZone;)V", "", ApiSince=24)>]
new Android.Icu.Util.CECalendar : Android.Icu.Util.TimeZone -> Android.Icu.Util.CECalendar
Parameters
- zone
- TimeZone
The time zone for the new calendar.
- Attributes
Remarks
Constructs a CECalendar
based on the current time in the given time zone with the default FORMAT
locale.
Java documentation for android.icu.util.CECalendar.CECalendar(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
CECalendar(ULocale)
Constructs a CECalendar
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)]
protected CECalendar (Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register(".ctor", "(Landroid/icu/util/ULocale;)V", "", ApiSince=24)>]
new Android.Icu.Util.CECalendar : Android.Icu.Util.ULocale -> Android.Icu.Util.CECalendar
Parameters
- locale
- ULocale
The locale for the new calendar.
- Attributes
Remarks
Constructs a CECalendar
based on the current time in the default time zone with the given locale.
Java documentation for android.icu.util.CECalendar.CECalendar(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
CECalendar(Date)
Constructs a CECalendar
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)]
protected CECalendar (Java.Util.Date? date);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Date;)V", "", ApiSince=24)>]
new Android.Icu.Util.CECalendar : Java.Util.Date -> Android.Icu.Util.CECalendar
Parameters
- date
- Date
The date to which the new calendar is set.
- Attributes
Remarks
Constructs a CECalendar
with the given date set in the default time zone with the default FORMAT
locale.
Java documentation for android.icu.util.CECalendar.CECalendar(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
CECalendar(Locale)
Constructs a CECalendar
based on the current time
in the default time zone with the given locale.
[Android.Runtime.Register(".ctor", "(Ljava/util/Locale;)V", "", ApiSince=24)]
protected CECalendar (Java.Util.Locale? aLocale);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Locale;)V", "", ApiSince=24)>]
new Android.Icu.Util.CECalendar : Java.Util.Locale -> Android.Icu.Util.CECalendar
Parameters
- aLocale
- Locale
The locale for the new calendar.
- Attributes
Remarks
Constructs a CECalendar
based on the current time in the default time zone with the given locale.
Java documentation for android.icu.util.CECalendar.CECalendar(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
CECalendar(TimeZone, ULocale)
Constructs a CECalendar
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)]
protected CECalendar (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.CECalendar : Android.Icu.Util.TimeZone * Android.Icu.Util.ULocale -> Android.Icu.Util.CECalendar
Parameters
- zone
- TimeZone
The time zone for the new calendar.
- locale
- ULocale
The locale for the new calendar.
- Attributes
Remarks
Constructs a CECalendar
based on the current time in the given time zone with the given 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
CECalendar(TimeZone, Locale)
Constructs a CECalendar
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)]
protected CECalendar (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.CECalendar : Android.Icu.Util.TimeZone * Java.Util.Locale -> Android.Icu.Util.CECalendar
Parameters
- zone
- TimeZone
The time zone for the new calendar.
- aLocale
- Locale
The locale for the new calendar.
- Attributes
Remarks
Constructs a CECalendar
based on the current time in the given time zone with the given 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
CECalendar(IntPtr, JniHandleOwnership)
protected CECalendar (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Icu.Util.CECalendar : nativeint * Android.Runtime.JniHandleOwnership -> Android.Icu.Util.CECalendar
Parameters
- javaReference
-
IntPtr
nativeint
- transfer
- JniHandleOwnership
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
CECalendar(Int32, Int32, Int32)
Constructs a CECalendar
with the given date set
in the default time zone with the default FORMAT
locale.
[Android.Runtime.Register(".ctor", "(III)V", "", ApiSince=24)]
protected CECalendar (int year, int month, int date);
[<Android.Runtime.Register(".ctor", "(III)V", "", ApiSince=24)>]
new Android.Icu.Util.CECalendar : int * int * int -> Android.Icu.Util.CECalendar
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 Tishri.
- date
- Int32
The value used to set the calendar's #DATE DATE
time field.
- Attributes
Remarks
Constructs a CECalendar
with the given date set in the default time zone with the default FORMAT
locale.
Java documentation for android.icu.util.CECalendar.CECalendar(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
CECalendar(Int32, Int32, Int32, Int32, Int32, Int32)
Constructs a CECalendar
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)]
protected CECalendar (int year, int month, int date, int hour, int minute, int second);
[<Android.Runtime.Register(".ctor", "(IIIIII)V", "", ApiSince=24)>]
new Android.Icu.Util.CECalendar : int * int * int * int * int * int -> Android.Icu.Util.CECalendar
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 Tishri.
- 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 CECalendar
with the given date and time set for the default time zone with the default FORMAT
locale.
Java documentation for android.icu.util.CECalendar.CECalendar(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.