DateIntervalInfo 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
| Name | Description |
|---|---|
| DateIntervalInfo(ULocale) |
Construct DateIntervalInfo for the given locale, |
| DateIntervalInfo(Locale) |
Construct DateIntervalInfo for the given |
| DateIntervalInfo(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
DateIntervalInfo(ULocale)
Construct DateIntervalInfo for the given locale,
[Android.Runtime.Register(".ctor", "(Landroid/icu/util/ULocale;)V", "", ApiSince=24)]
public DateIntervalInfo(Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register(".ctor", "(Landroid/icu/util/ULocale;)V", "", ApiSince=24)>]
new Android.Icu.Text.DateIntervalInfo : Android.Icu.Util.ULocale -> Android.Icu.Text.DateIntervalInfo
Parameters
- locale
- ULocale
the interval patterns are loaded from the appropriate calendar data (specified calendar or default calendar) in this locale.
- Attributes
Remarks
Construct DateIntervalInfo for the given locale,
Java documentation for android.icu.text.DateIntervalInfo.DateIntervalInfo(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
DateIntervalInfo(Locale)
Construct DateIntervalInfo for the given java.util.Locale.
[Android.Runtime.Register(".ctor", "(Ljava/util/Locale;)V", "", ApiSince=24)]
public DateIntervalInfo(Java.Util.Locale? locale);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Locale;)V", "", ApiSince=24)>]
new Android.Icu.Text.DateIntervalInfo : Java.Util.Locale -> Android.Icu.Text.DateIntervalInfo
Parameters
- locale
- Locale
the interval patterns are loaded from the appropriate calendar data (specified calendar or default calendar) in this locale.
- Attributes
Remarks
Construct DateIntervalInfo for the given java.util.Locale.
Java documentation for android.icu.text.DateIntervalInfo.DateIntervalInfo(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
DateIntervalInfo(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected DateIntervalInfo(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Icu.Text.DateIntervalInfo : nativeint * Android.Runtime.JniHandleOwnership -> Android.Icu.Text.DateIntervalInfo
Parameters
- javaReference
-
IntPtr
nativeint
A JNI reference to the Java object.
- transfer
- JniHandleOwnership
Specifies whether to release the incoming JNI reference and whether to register the managed peer.
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.