Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 46469 invoked from network); 12 Jul 2008 07:36:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jul 2008 07:36:52 -0000 Received: (qmail 89827 invoked by uid 500); 12 Jul 2008 07:36:52 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 89803 invoked by uid 500); 12 Jul 2008 07:36:52 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 89790 invoked by uid 99); 12 Jul 2008 07:36:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jul 2008 00:36:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jul 2008 07:36:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BC0EA234C16F for ; Sat, 12 Jul 2008 00:36:31 -0700 (PDT) Message-ID: <1891752999.1215848191769.JavaMail.jira@brutus> Date: Sat, 12 Jul 2008 00:36:31 -0700 (PDT) From: "Tharindu Mathew (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-5897) [classlib][swing] Fixes a problem in SpinnerDataModelTest that occurs on specific Dates In-Reply-To: <1063893617.1215372159221.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-5897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613056#action_12613056 ] Tharindu Mathew commented on HARMONY-5897: ------------------------------------------ I found out the reason for the problem. In the TimeZones.getTimeZones() method: new SimpleTimeZone(6 * ONE_HOUR, "Asia/Colombo") Asia/Colombo should be implemented as new SimpleTimeZone(5.5 * ONE_HOUR, "Asia/Colombo") But it doesn't take a float value as an argument. I can't fix the float value issue cause SimpleTimeZones uses com.ibm.icu.util classes to initialize time zone values which I cannot access the source code of: public SimpleTimeZone(int offset, String name) { setID(name); rawOffset = offset; icuTZ = com.ibm.icu.util.TimeZone.getTimeZone(name); if (icuTZ instanceof com.ibm.icu.util.SimpleTimeZone) { isSimple = true; icuTZ.setRawOffset(offset); } useDaylight = icuTZ.useDaylightTime(); } > [classlib][swing] Fixes a problem in SpinnerDataModelTest that occurs on specific Dates > --------------------------------------------------------------------------------------- > > Key: HARMONY-5897 > URL: https://issues.apache.org/jira/browse/HARMONY-5897 > Project: Harmony > Issue Type: Bug > Reporter: Tharindu Mathew > Assignee: Alexei Zakharov > Attachments: testSpinnerDataModel.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.