- field
- the field
- style
- SHORT or LONG
- 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 human-readable string for the value of field using the given style and locale. If no string is available, returns null. The value is retrieved by invoking get(field).
For example, getDisplayName(MONTH, SHORT, Locale.US) will return "Jan" while getDisplayName(MONTH, LONG, Locale.US) will return "January".