ZoneOffset getDisplayName() method in Java with Examples
The getDisplayName() method of the ZoneOffset class is used to get the textual representation of the zone suitable for presentation to the user such as 'British Time' or '+02:00'.If no textual mapping is found then the full ID is returned. Syntax: public String getDisplayName(TextStyle style, Locale