Locale-Sensitive Java Method
java.util.ZoneId
public String getDisplayName(TextStyle style, Locale locale)
Internationalization (I18n) Method Overview
getDisplayName returns the textual representation of the zone, such as 'British Time' or '+02:00'.
For more information on getDisplayName ,
click
here.
I18n Issues
This method requires a locale. Make sure the locale passed in is correct.
Locale-Sensitive Java Methods
|