JapaneseCalendar 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
JapaneseCalendar() |
Constructs a default |
JapaneseCalendar(Int32, Int32, Int32, Int32, Int32, Int32) |
Constructs a |
JapaneseCalendar(Int32, Int32, Int32) |
Constructs a |
JapaneseCalendar(IntPtr, JniHandleOwnership) | |
JapaneseCalendar(TimeZone, Locale) |
Constructs a |
JapaneseCalendar(Int32, Int32, Int32, Int32) |
Constructs a |
JapaneseCalendar(Locale) |
Constructs a |
JapaneseCalendar(Date) |
Constructs a |
JapaneseCalendar(ULocale) |
Constructs a |
JapaneseCalendar(TimeZone) |
Constructs a |
JapaneseCalendar(TimeZone, ULocale) |
Constructs a |
JapaneseCalendar()
Constructs a default JapaneseCalendar
using the current time
in the default time zone with the default locale.
[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
public JapaneseCalendar ();
- Attributes
Remarks
Constructs a default JapaneseCalendar
using the current time in the default time zone with the default locale.
Java documentation for android.icu.util.JapaneseCalendar.JapaneseCalendar()
.
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
JapaneseCalendar(Int32, Int32, Int32, Int32, Int32, Int32)
Constructs a JapaneseCalendar
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 JapaneseCalendar (int year, int month, int date, int hour, int minute, int second);
[<Android.Runtime.Register(".ctor", "(IIIIII)V", "", ApiSince=24)>]
new Android.Icu.Util.JapaneseCalendar : int * int * int * int * int * int -> Android.Icu.Util.JapaneseCalendar
Parameters
- year
- Int32
The value used to set the calendar's #YEAR YEAR
time field,
in the era Heisei, the most current at the time of this
writing.
- 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 JapaneseCalendar
with the given date and time set for the default time zone with the default 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
JapaneseCalendar(Int32, Int32, Int32)
Constructs a JapaneseCalendar
with the given date set
in the default time zone with the default locale.
[Android.Runtime.Register(".ctor", "(III)V", "", ApiSince=24)]
public JapaneseCalendar (int year, int month, int date);
[<Android.Runtime.Register(".ctor", "(III)V", "", ApiSince=24)>]
new Android.Icu.Util.JapaneseCalendar : int * int * int -> Android.Icu.Util.JapaneseCalendar
Parameters
- year
- Int32
The value used to set the calendar's #YEAR YEAR
field,
in the era Heisei, the most current at the time this
class was last updated.
- month
- Int32
The value used to set the calendar's #MONTH MONTH
field.
The value is 0-based. e.g., 0 for January.
- date
- Int32
The value used to set the calendar's #DATE DATE
field.
- Attributes
Remarks
Constructs a JapaneseCalendar
with the given date set in the default time zone with the default locale.
Java documentation for android.icu.util.JapaneseCalendar.JapaneseCalendar(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
JapaneseCalendar(IntPtr, JniHandleOwnership)
protected JapaneseCalendar (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Icu.Util.JapaneseCalendar : nativeint * Android.Runtime.JniHandleOwnership -> Android.Icu.Util.JapaneseCalendar
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
JapaneseCalendar(TimeZone, Locale)
Constructs a JapaneseCalendar
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 JapaneseCalendar (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.JapaneseCalendar : Android.Icu.Util.TimeZone * Java.Util.Locale -> Android.Icu.Util.JapaneseCalendar
Parameters
- zone
- TimeZone
the given time zone.
- aLocale
- Locale
the given locale.
- Attributes
Remarks
Constructs a JapaneseCalendar
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
JapaneseCalendar(Int32, Int32, Int32, Int32)
Constructs a JapaneseCalendar
with the given date set
in the default time zone with the default locale.
[Android.Runtime.Register(".ctor", "(IIII)V", "", ApiSince=24)]
public JapaneseCalendar (int era, int year, int month, int date);
[<Android.Runtime.Register(".ctor", "(IIII)V", "", ApiSince=24)>]
new Android.Icu.Util.JapaneseCalendar : int * int * int * int -> Android.Icu.Util.JapaneseCalendar
Parameters
- era
- Int32
The imperial era used to set the calendar's #ERA ERA
field.
Eras are numbered starting with the Tenki era, which
began in 1053 AD Gregorian, as era zero. Recent
eras can be specified using the constants
#MEIJI
(which started in 1868 AD),
#TAISHO
(1912 AD),
#SHOWA
(1926 AD), and
#HEISEI
(1989 AD).
- year
- Int32
The value used to set the calendar's #YEAR YEAR
field,
in terms of the era.
- month
- Int32
The value used to set the calendar's #MONTH MONTH
field.
The value is 0-based. e.g., 0 for January.
- date
- Int32
The value used to set the calendar's DATE field.
- Attributes
Remarks
Constructs a JapaneseCalendar
with the given date set in the default time zone with the default locale.
Java documentation for android.icu.util.JapaneseCalendar.JapaneseCalendar(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
JapaneseCalendar(Locale)
Constructs a JapaneseCalendar
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 JapaneseCalendar (Java.Util.Locale? aLocale);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Locale;)V", "", ApiSince=24)>]
new Android.Icu.Util.JapaneseCalendar : Java.Util.Locale -> Android.Icu.Util.JapaneseCalendar
Parameters
- aLocale
- Locale
the given locale.
- Attributes
Remarks
Constructs a JapaneseCalendar
based on the current time in the default time zone with the given locale.
Java documentation for android.icu.util.JapaneseCalendar.JapaneseCalendar(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
JapaneseCalendar(Date)
Constructs a JapaneseCalendar
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 JapaneseCalendar (Java.Util.Date? date);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Date;)V", "", ApiSince=24)>]
new Android.Icu.Util.JapaneseCalendar : Java.Util.Date -> Android.Icu.Util.JapaneseCalendar
Parameters
- date
- Date
The date to which the new calendar is set.
- Attributes
Remarks
Constructs a JapaneseCalendar
with the given date set in the default time zone with the default locale.
Java documentation for android.icu.util.JapaneseCalendar.JapaneseCalendar(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
JapaneseCalendar(ULocale)
Constructs a JapaneseCalendar
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 JapaneseCalendar (Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register(".ctor", "(Landroid/icu/util/ULocale;)V", "", ApiSince=24)>]
new Android.Icu.Util.JapaneseCalendar : Android.Icu.Util.ULocale -> Android.Icu.Util.JapaneseCalendar
Parameters
- locale
- ULocale
the given ulocale.
- Attributes
Remarks
Constructs a JapaneseCalendar
based on the current time in the default time zone with the given locale.
Java documentation for android.icu.util.JapaneseCalendar.JapaneseCalendar(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
JapaneseCalendar(TimeZone)
Constructs a JapaneseCalendar
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 JapaneseCalendar (Android.Icu.Util.TimeZone? zone);
[<Android.Runtime.Register(".ctor", "(Landroid/icu/util/TimeZone;)V", "", ApiSince=24)>]
new Android.Icu.Util.JapaneseCalendar : Android.Icu.Util.TimeZone -> Android.Icu.Util.JapaneseCalendar
Parameters
- zone
- TimeZone
the given time zone.
- Attributes
Remarks
Constructs a JapaneseCalendar
based on the current time in the given time zone with the default 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
JapaneseCalendar(TimeZone, ULocale)
Constructs a JapaneseCalendar
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 JapaneseCalendar (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.JapaneseCalendar : Android.Icu.Util.TimeZone * Android.Icu.Util.ULocale -> Android.Icu.Util.JapaneseCalendar
Parameters
- zone
- TimeZone
the given time zone.
- locale
- ULocale
the given ulocale.
- Attributes
Remarks
Constructs a JapaneseCalendar
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.