TimeZone getDisplayName() Method in Java with Examples Last Updated : 02 Jan, 2019 Summarize Comments Improve Suggest changes Share Like Article Like Report The getDisplayName() method of TimeZone class in Java is used to get a particular name of this TimeZone that is easily understood by the user. The name is appropriate for presentation and display purpose. Syntax: public final String getDisplayName() Parameters: The method does not take any parameters. Return Value: The method returns the display name of the TimeZone. Below program illustrates the working of getDisplayName() Method of TimeZone: Java // Java code to illustrate getDisplayName() method import java.util.*; public class TimeZoneDemo { public static void main(String args[]) { // Creating an object of TimeZone class. TimeZone time_zone = TimeZone.getDefault(); // Displaying the display name of TimeZone System.out.println("The TimeZone: " + time_zone.getDisplayName()); } } Output: The TimeZone: Coordinated Universal Time Comment More infoAdvertise with us Next Article TimeZone getDSTSavings() Method in Java with Examples C chinmoy lenka Follow Improve Article Tags : Misc Java Java - util package Java-Functions Java-TimeZone +1 More Practice Tags : JavaMisc Similar Reads TimeZone getDisplayName(boolean, int) Method in Java with Examples The getDisplayName(boolean daylight, int style) method of TimeZone class in Java is used to get a particular name of this TimeZone that is easily understood by the user in the specified locale as passed by the user. The name is appropriate for presentation and display purpose. Syntax: public final S 2 min read ZoneId getDisplayName() method in Java with Examples The getDisplayName() method of the ZoneId class 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 locale 2 min read TimeZone getID() Method in Java with Examples The getID() method of TimeZone class in Java is used to get official ID of a particular TimeZone. Syntax: public String getID() Parameters: The method does not take any parameters. Return Value: The method returns the ID of the TimeZone. Below programs illustrate the working of getID() Method of Tim 1 min read TimeZone getDSTSavings() Method in Java with Examples The getDSTSavings() method of TimeZone class in Java is used to know the amount of time needed to be added to local standard time to get the wall clock time. Syntax: public int getDSTSavings() Parameters: The method does not take any parameters. Return Value: The method returns in milliseconds the a 1 min read TimeZone getOffset() Method in Java with Examples The getOffset() method of TimeZone class in Java is used to know the offset value of this TimeZone at a specific date from the UTC or the Universal Time Coordinated. Syntax: public int getOffset(long in_date) Parameters: The method accepts one parameter, in_date of long type that refers to the actua 1 min read 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 2 min read Like