- field
- the field
- style
- SHORT, LONG, or ALL_STYLES
- locale
- the locale
Documentation for this section has not yet been entered.
Type Reason Java.Lang.NullPointerException if locale == null Java.Lang.IllegalArgumentException if field or style is invalid
Returns a map of human-readable strings to corresponding values, for the given field, style, and locale. Returns null if no strings are available.
For example, getDisplayNames(MONTH, ALL_STYLES, Locale.US) would contain mappings from "Jan" and "January" to Calendar.January, and so on.