Compartilhar via


IndianCalendar Constructors

Definition

Overloads

IndianCalendar()

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

IndianCalendar(TimeZone)

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

IndianCalendar(ULocale)

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

IndianCalendar(Date)

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

IndianCalendar(Locale)

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

IndianCalendar(TimeZone, ULocale)

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

IndianCalendar(TimeZone, Locale)

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

IndianCalendar(IntPtr, JniHandleOwnership)
IndianCalendar(Int32, Int32, Int32)

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

IndianCalendar(Int32, Int32, Int32, Int32, Int32, Int32)

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

IndianCalendar()

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

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

Remarks

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

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

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

IndianCalendar(TimeZone)

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

Parameters

zone
TimeZone

the given time zone.

Attributes

Remarks

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

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

IndianCalendar(ULocale)

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

Parameters

locale
ULocale

the given ulocale.

Attributes

Remarks

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

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

IndianCalendar(Date)

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

Parameters

date
Date

The date to which the new calendar is set.

Attributes

Remarks

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

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

IndianCalendar(Locale)

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

Parameters

aLocale
Locale

the given locale.

Attributes

Remarks

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

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

IndianCalendar(TimeZone, ULocale)

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

Parameters

zone
TimeZone

the given time zone.

locale
ULocale

the given ulocale.

Attributes

Remarks

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

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

IndianCalendar(TimeZone, Locale)

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

Parameters

zone
TimeZone

the given time zone.

aLocale
Locale

the given locale.

Attributes

Remarks

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

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

IndianCalendar(IntPtr, JniHandleOwnership)

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

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

IndianCalendar(Int32, Int32, Int32)

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

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

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 IndianCalendar with the given date set in the default time zone with the default FORMAT locale.

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

IndianCalendar(Int32, Int32, Int32, Int32, Int32, Int32)

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

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

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