Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2006 15:42:15 +0300
From:      Panagiotis Astithas <past@ebs.gr>
To:        Heiko Weber <java@wecos.de>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Calendar Question - maybe bug ?
Message-ID:  <447C3DA7.2050808@ebs.gr>
In-Reply-To: <200605301428.07715.java@wecos.de>
References:  <200605291720.19793.java@wecos.de>	<200605301000.35042.java@wecos.de>	<200605301221.11169.java@wecos.de> <200605301428.07715.java@wecos.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>>> installation.
>> 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?

Cheers,

Panagiotis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447C3DA7.2050808>