java HOUR_OF_DAY different on different systems
<p>I have same Java code running on Windows and Solaris machines. There is part of code that produces different results:</p>

<pre><code>Calendar cd = Calendar.getInstance();
int hour = cd.get(Calendar.HOUR_OF_DAY);
int off = cd.get(Calendar.ZONE_OFFSET)/3600/1000;
System.out.println("current hour " + hour + ", zone offset " + off);
</code></pre>

<p>If I run this code at 16:15 localtime, Windows machine returns 16 as hour and zone offset as 2 (I am in GMT+2 time zone and daylight saving is on at the moment). On Solaris I get 15 as hour and same zone offset. "date" command on Solaris shows that time is correct and shows right time zone. Solaris runs Java 1.4 and Windows runs 1.5, although I'm not sure if that makes any difference. Any ideas why results are different?</p>
