Language

DateFormatSymbols Constructors

Definition

Overloads

Name Description
DateFormatSymbols()

Constructs a DateFormatSymbols object by loading format data from resources for the default FORMAT locale.

DateFormatSymbols(ULocale)

<strong>[icu]</strong> Constructs a DateFormatSymbols object by loading format data from resources for the given ulocale.

DateFormatSymbols(Locale)

Constructs a DateFormatSymbols object by loading format data from resources for the given locale.

DateFormatSymbols(Calendar, ULocale)

Returns the DateFormatSymbols object that should be used to format a calendar system's dates in the given locale.

DateFormatSymbols(Calendar, Locale)

Returns the DateFormatSymbols object that should be used to format a calendar system's dates in the given locale.

DateFormatSymbols(Class, ULocale)

Variant of DateFormatSymbols(Calendar, ULocale) that takes the Calendar class instead of a Calendar instance.

DateFormatSymbols(Class, Locale)

Variant of DateFormatSymbols(Calendar, Locale) that takes the Calendar class instead of a Calendar instance.

DateFormatSymbols(ResourceBundle, ULocale)

Fetches a custom calendar's DateFormatSymbols out of the given resource bundle.

DateFormatSymbols(ResourceBundle, Locale)

Fetches a custom calendar's DateFormatSymbols out of the given resource bundle.

DateFormatSymbols(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

DateFormatSymbols()

Constructs a DateFormatSymbols object by loading format data from resources for the default FORMAT locale.

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

Remarks

Constructs a DateFormatSymbols object by loading format data from resources for the default FORMAT locale.

Java documentation for android.icu.text.DateFormatSymbols.DateFormatSymbols().

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

DateFormatSymbols(ULocale)

<strong>[icu]</strong> Constructs a DateFormatSymbols object by loading format data from resources for the given ulocale.

[Android.Runtime.Register(".ctor", "(Landroid/icu/util/ULocale;)V", "", ApiSince=24)]
public DateFormatSymbols(Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register(".ctor", "(Landroid/icu/util/ULocale;)V", "", ApiSince=24)>]
new Android.Icu.Text.DateFormatSymbols : Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormatSymbols

Parameters

locale
ULocale

The ICU locale used to select the date-symbol resources.

Attributes

Remarks

<strong>[icu]</strong> Constructs a DateFormatSymbols object by loading format data from resources for the given ulocale.

Java documentation for android.icu.text.DateFormatSymbols.DateFormatSymbols(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

DateFormatSymbols(Locale)

Constructs a DateFormatSymbols object by loading format data from resources for the given locale.

[Android.Runtime.Register(".ctor", "(Ljava/util/Locale;)V", "", ApiSince=24)]
public DateFormatSymbols(Java.Util.Locale? locale);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Locale;)V", "", ApiSince=24)>]
new Android.Icu.Text.DateFormatSymbols : Java.Util.Locale -> Android.Icu.Text.DateFormatSymbols

Parameters

locale
Locale

The Java locale converted to an ICU locale for date-symbol resource selection.

Attributes

Remarks

Constructs a DateFormatSymbols object by loading format data from resources for the given locale.

Java documentation for android.icu.text.DateFormatSymbols.DateFormatSymbols(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

DateFormatSymbols(Calendar, ULocale)

Returns the DateFormatSymbols object that should be used to format a calendar system's dates in the given locale.

[Android.Runtime.Register(".ctor", "(Landroid/icu/util/Calendar;Landroid/icu/util/ULocale;)V", "", ApiSince=24)]
public DateFormatSymbols(Android.Icu.Util.Calendar? cal, Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register(".ctor", "(Landroid/icu/util/Calendar;Landroid/icu/util/ULocale;)V", "", ApiSince=24)>]
new Android.Icu.Text.DateFormatSymbols : Android.Icu.Util.Calendar * Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormatSymbols

Parameters

cal
Calendar

The calendar system whose date format symbols are desired.

locale
ULocale

The ulocale whose symbols are desired.

Attributes

Remarks

Returns the DateFormatSymbols object that should be used to format a calendar system's dates in the given locale.

Java documentation for android.icu.text.DateFormatSymbols.DateFormatSymbols(android.icu.util.Calendar, 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

DateFormatSymbols(Calendar, Locale)

Returns the DateFormatSymbols object that should be used to format a calendar system's dates in the given locale.

[Android.Runtime.Register(".ctor", "(Landroid/icu/util/Calendar;Ljava/util/Locale;)V", "", ApiSince=24)]
public DateFormatSymbols(Android.Icu.Util.Calendar? cal, Java.Util.Locale? locale);
[<Android.Runtime.Register(".ctor", "(Landroid/icu/util/Calendar;Ljava/util/Locale;)V", "", ApiSince=24)>]
new Android.Icu.Text.DateFormatSymbols : Android.Icu.Util.Calendar * Java.Util.Locale -> Android.Icu.Text.DateFormatSymbols

Parameters

cal
Calendar

The calendar system whose date format symbols are desired.

locale
Locale

The locale whose symbols are desired.

Attributes

Remarks

Returns the DateFormatSymbols object that should be used to format a calendar system's dates in the given locale.

Java documentation for android.icu.text.DateFormatSymbols.DateFormatSymbols(android.icu.util.Calendar, 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

DateFormatSymbols(Class, ULocale)

Variant of DateFormatSymbols(Calendar, ULocale) that takes the Calendar class instead of a Calendar instance.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Class;Landroid/icu/util/ULocale;)V", "", ApiSince=24)]
public DateFormatSymbols(Java.Lang.Class? calendarClass, Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Class;Landroid/icu/util/ULocale;)V", "", ApiSince=24)>]
new Android.Icu.Text.DateFormatSymbols : Java.Lang.Class * Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormatSymbols

Parameters

calendarClass
Class

The Java class for the calendar implementation whose date symbols are required.

locale
ULocale

The ICU locale used to load symbols for the selected calendar type.

Attributes

Remarks

Variant of DateFormatSymbols(Calendar, ULocale) that takes the Calendar class instead of a Calendar instance.

Java documentation for android.icu.text.DateFormatSymbols.DateFormatSymbols(java.lang.Class<? extends android.icu.util.Calendar>, 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

DateFormatSymbols(Class, Locale)

Variant of DateFormatSymbols(Calendar, Locale) that takes the Calendar class instead of a Calendar instance.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Class;Ljava/util/Locale;)V", "", ApiSince=24)]
public DateFormatSymbols(Java.Lang.Class? calendarClass, Java.Util.Locale? locale);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Class;Ljava/util/Locale;)V", "", ApiSince=24)>]
new Android.Icu.Text.DateFormatSymbols : Java.Lang.Class * Java.Util.Locale -> Android.Icu.Text.DateFormatSymbols

Parameters

calendarClass
Class

The Java class for the calendar implementation whose date symbols are required.

locale
Locale

The Java locale converted to an ICU locale to load the calendar's symbols.

Attributes

Remarks

Variant of DateFormatSymbols(Calendar, Locale) that takes the Calendar class instead of a Calendar instance.

Java documentation for android.icu.text.DateFormatSymbols.DateFormatSymbols(java.lang.Class<? extends android.icu.util.Calendar>, 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

DateFormatSymbols(ResourceBundle, ULocale)

Fetches a custom calendar's DateFormatSymbols out of the given resource bundle.

[Android.Runtime.Register(".ctor", "(Ljava/util/ResourceBundle;Landroid/icu/util/ULocale;)V", "", ApiSince=24)]
public DateFormatSymbols(Java.Util.ResourceBundle? bundle, Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register(".ctor", "(Ljava/util/ResourceBundle;Landroid/icu/util/ULocale;)V", "", ApiSince=24)>]
new Android.Icu.Text.DateFormatSymbols : Java.Util.ResourceBundle * Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormatSymbols

Parameters

bundle
ResourceBundle

The ICU resource bundle containing the custom calendar symbols.

locale
ULocale

The ICU locale used to select the calendar type and its fallback symbol data.

Attributes

Remarks

Fetches a custom calendar's DateFormatSymbols out of the given resource bundle. Symbols that are not overridden are inherited from the default DateFormatSymbols for the locale.

Java documentation for android.icu.text.DateFormatSymbols.DateFormatSymbols(java.util.ResourceBundle, 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

DateFormatSymbols(ResourceBundle, Locale)

Fetches a custom calendar's DateFormatSymbols out of the given resource bundle.

[Android.Runtime.Register(".ctor", "(Ljava/util/ResourceBundle;Ljava/util/Locale;)V", "", ApiSince=24)]
public DateFormatSymbols(Java.Util.ResourceBundle? bundle, Java.Util.Locale? locale);
[<Android.Runtime.Register(".ctor", "(Ljava/util/ResourceBundle;Ljava/util/Locale;)V", "", ApiSince=24)>]
new Android.Icu.Text.DateFormatSymbols : Java.Util.ResourceBundle * Java.Util.Locale -> Android.Icu.Text.DateFormatSymbols

Parameters

bundle
ResourceBundle

The ICU resource bundle containing the custom calendar symbols.

locale
Locale

The Java locale converted to an ICU locale for the calendar type and fallback symbols.

Attributes

Remarks

Fetches a custom calendar's DateFormatSymbols out of the given resource bundle. Symbols that are not overridden are inherited from the default DateFormatSymbols for the locale.

Java documentation for android.icu.text.DateFormatSymbols.DateFormatSymbols(java.util.ResourceBundle, 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

DateFormatSymbols(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

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