Gets the text for the specified field, locale and style
for the purpose of formatting.
!(p)
The text associated with the value is returned.
The null return value should be used if there is no applicable text, or
if the text would be a numeric representation of the value.
@param field the field to get text for, not null
@param value the field value to get text for, not null
@param style the style to get text for, not null
@param locale the locale to get text for, not null
@return the text for the field value, null if no text found
stringgetText(TemporalField field, long value, TextStyle style, Locale locale)
Gets the text for the specified field, locale and style for the purpose of formatting. !(p) The text associated with the value is returned. The null return value should be used if there is no applicable text, or if the text would be a numeric representation of the value.
@param field the field to get text for, not null @param value the field value to get text for, not null @param style the style to get text for, not null @param locale the locale to get text for, not null @return the text for the field value, null if no text found