From owner-freebsd-java@FreeBSD.ORG Tue May 30 12:42:28 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A236016A708 for ; Tue, 30 May 2006 12:42:28 +0000 (UTC) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id F20D443D77 for ; Tue, 30 May 2006 12:42:18 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k4UCgGGP041539; Tue, 30 May 2006 15:42:16 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.185] (pc185.ebs.gr [10.1.1.185]) by ebs.gr (8.13.3/8.13.3) with ESMTP id k4UCgGik064554; Tue, 30 May 2006 15:42:16 +0300 (EEST) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.1.394 [268.7.4/351]); Tue, 30 May 2006 15:42:15 +0300 Message-ID: <447C3DA7.2050808@ebs.gr> Date: Tue, 30 May 2006 15:42:15 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Heiko Weber References: <200605291720.19793.java@wecos.de> <200605301000.35042.java@wecos.de> <200605301221.11169.java@wecos.de> <200605301428.07715.java@wecos.de> In-Reply-To: <200605301428.07715.java@wecos.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: Calendar Question - maybe bug ? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2006 12:42:44 -0000 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