Calendar Question - maybe bug ?
past at ebs.gr
Tue May 30 05:42:44 PDT 2006
Heiko Weber wrote:
> Am Dienstag, 30. Mai 2006 12:21 schrieb Heiko Weber:
>> Am Dienstag, 30. Mai 2006 10:00 schrieb Heiko Weber:
>>> At the moment I compile jdk with patchset 3 on an other FreeBSD system to
>>> verify ... there I can play with the timezone settings after
>> Only for your information:
>> /usr/ports/jdk15 fails to compile. I'll give diablo-jdk15 a try ... last
>> output of "make" follows ...
> Compared to jdk15 the installation off diablo-jdk15 is much easier - below a
> minute. But the result is still the same. Later then I used sysinstall to
> change /etc/localtime to CDT, rebooted but no effect.
> # date
> Tue May 30 06:40:58 CDT 2006
> # java -version
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b00)
> Java HotSpot(TM) Server VM (build diablo-1.5.0_06-b00, mixed mode)
> What could make this difference? Is there any other way to implement a
> weekOfTheYear(int year) funtion ?
> Anyone an idea what to try next ?
Could you print out the value of cal.get(Calendar.WEEK_OF_YEAR) for
those years? It's obviously not 53, but what exactly is it?
More information about the freebsd-java