Calendar.GetDisplayNames(Int32, Int32, Locale) Calendar.GetDisplayNames(Int32, Int32, Locale) Method

Definition

Returns a map of human-readable strings to corresponding values, for the given field, style, and locale.

[Android.Runtime.Register("getDisplayNames", "(IILjava/util/Locale;)Ljava/util/Map;", "GetGetDisplayNames_IILjava_util_Locale_Handler", ApiSince=9)]
public virtual System.Collections.Generic.IDictionary<string,Java.Lang.Integer> GetDisplayNames (int field, int style, Java.Util.Locale locale);
abstract member GetDisplayNames : int * int * Java.Util.Locale -> System.Collections.Generic.IDictionary<string, Java.Lang.Integer>
override this.GetDisplayNames : int * int * Java.Util.Locale -> System.Collections.Generic.IDictionary<string, Java.Lang.Integer>

Parameters

field
Int32 Int32

the field

style
Int32 Int32

SHORT, LONG, or ALL_STYLES

locale
Locale Locale

the locale

Returns

Exceptions

if field or style is invalid

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