title: how TimeZone.getDefault() works?
body: <blockquote>
    <p>My server is in US and I am accessing the application in India through
    web browser, in that case what <code>TimeZone.getDefault()</code> will return? 
    If it returns Time Zone based on India on basis of what it will return?</p>
    
    <p>I have changed in control panel setting to different locale and
    different time zone of the system even though it is not changing based
    on my settings.</p>
    
    <p>I have written the code as fallows...</p>
  </blockquote>
  
  <pre><code>def dateFormat = DateFormat.getDateTimeInstance(DateFormat.DEFAULT,DateFormat.DEFAULT,Locale.getDefault())
  dateFormat.setTimeZone(TimeZone.getDefault())
  </code></pre>