title: How to get timezone from timezone offset in java?
body: <p>I know how to get the opposite. That is given a timezone I can get the timezone offset by the following code snippet:</p>
  
  <pre><code>TimeZone tz = TimeZone.getDefault();
  System.out.println(tz.getOffset(System.currentTimeMillis()));
  </code></pre>
  
  <p>I want to know how to get the timezone name from timezone offset.</p>
  
  <p>Given,</p>
  
  <p><code>timezone offset = 21600000</code> (in milliseconds; +6.00 offset)</p>
  
  <p>I want to get result any of the following possible timezone names:</p>
  
  <pre><code>(GMT+6:00) Antarctica/Vostok
  (GMT+6:00) Asia/Almaty
  (GMT+6:00) Asia/Bishkek
  (GMT+6:00) Asia/Dacca
  (GMT+6:00) Asia/Dhaka
  (GMT+6:00) Asia/Qyzylorda
  (GMT+6:00) Asia/Thimbu
  (GMT+6:00) Asia/Thimphu
  (GMT+6:00) Asia/Yekaterinburg
  (GMT+6:00) BST
  (GMT+6:00) Etc/GMT-6
  (GMT+6:00) Indian/Chagos
  </code></pre>