Partager via


DateFormatSymbols Constructors

Definition

Overloads

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)

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
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
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
locale
ULocale
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
locale
Locale
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

locale
ULocale
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

locale
Locale
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)

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

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