title: Java calendar in different time zone gives different values for same time
body: <p>Hi in the below piece of code i am getting the output as 9 and 10 , Why is that happening ?  Even though the calendars are of different time zones we are passing the same date to set the time . As far as I know the the time is calculated from the epoch as a relative value , so this relative value should be same no matter what is the time zone</p>
  
  <p>I am facing a similar problem with my DB in one time zone and Server in another.</p>
  
  <pre><code>Date date = new Date ();
      Calendar c = Calendar.getInstance(TimeZone.getTimeZone("America/Los_Angeles"),Locale.US);
      Calendar c1 = Calendar.getInstance();
      c.setTime(date);
      c1.setTime(date);
      System.out.println(c.get(Calendar.HOUR));
      System.out.println(c1.get(Calendar.HOUR));
  </code></pre>