Calendar 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
Calendar() |
Constructs a Calendar with the default time zone
and the default |
Calendar(TimeZone, Locale) |
Constructs a calendar with the specified time zone and locale. |
Calendar(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Calendar()
Constructs a Calendar with the default time zone
and the default java.util.Locale.Category#FORMAT FORMAT
locale.
[Android.Runtime.Register(".ctor", "()V", "")]
protected Calendar ();
- Attributes
Remarks
Constructs a Calendar with the default time zone and the default java.util.Locale.Category#FORMAT FORMAT
locale.
Java documentation for java.util.Calendar.Calendar()
.
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
Calendar(TimeZone, Locale)
Constructs a calendar with the specified time zone and locale.
[Android.Runtime.Register(".ctor", "(Ljava/util/TimeZone;Ljava/util/Locale;)V", "")]
protected Calendar (Java.Util.TimeZone zone, Java.Util.Locale aLocale);
[<Android.Runtime.Register(".ctor", "(Ljava/util/TimeZone;Ljava/util/Locale;)V", "")>]
new Java.Util.Calendar : Java.Util.TimeZone * Java.Util.Locale -> Java.Util.Calendar
Parameters
- zone
- TimeZone
the time zone to use
- aLocale
- Locale
the locale for the week data
- Attributes
Remarks
Java documentation for java.util.Calendar.Calendar(java.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
Calendar(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected Calendar (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Calendar : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Calendar
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
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.