title: Timezone display in java
body: <p>I need to display timezone in the following format in my UI.</p>
  
  <blockquote>
    <p>(GMT -05:00) Eastern Time(US &amp; Canada).</p>
  </blockquote>
  
  <p>I tried getting the current time and timezone from calendar. But when i tried to get the display name from timezone it just displays as "Eastern time". I am not getting the format mentioned above. Can anyone help.</p>
  
  <p>Following is my code snippet and i am using JDK 1.4.2.</p>
  
  <pre><code>Calendar c = Calendar.getInstance();
  TimeZone tz = c.getTimeZone();
  String s = tz.getDisplayName();
  </code></pre>