X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5C04C5287F for ; Wed, 20 Jul 2005 15:12:29 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 32983-08 for ; Wed, 20 Jul 2005 18:12:19 +0000 (GMT) Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by svr1.postgresql.org (Postfix) with ESMTP id 445D052A75 for ; Wed, 20 Jul 2005 15:12:18 -0300 (ADT) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j6KICIEZ015821 for ; Wed, 20 Jul 2005 14:12:18 -0400 Received: from mail.boston.redhat.com (mail.boston.redhat.com [172.16.76.12]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j6KICIV21651 for ; Wed, 20 Jul 2005 14:12:18 -0400 Received: from vpn83-147.boston.redhat.com (vpn83-147.boston.redhat.com [172.16.83.147]) by mail.boston.redhat.com (8.12.8/8.12.8) with ESMTP id j6KICHll024961 for ; Wed, 20 Jul 2005 14:12:17 -0400 From: Vadim Nasardinov Organization: Red Hat / Westford To: pgsql-jdbc@postgresql.org Subject: Java's set of timezone names (was: Re: Timestamp Conversion Woes Redux) Date: Wed, 20 Jul 2005 14:16:37 -0400 User-Agent: KMail/1.7.1 References: <90876a9e05071810503606d431@mail.gmail.com> <24020.1121881295@sss.pgh.pa.us> In-Reply-To: <24020.1121881295@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507201416.37925@vadim.nasardinov> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.014 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/187 X-Sequence-Number: 13335 On Wednesday 20 July 2005 13:41, Tom Lane wrote: > Hmm ... does Java have a standard set of timezone names? If so, > does it bear any resemblance to the zic database names? I'm not sure how Roedy Green knows this, but this is what he has to say on the subject in his Java Glossary: http://www.mindprod.com/jgloss/timezone.html The names for timezones used in Java comes from a list maintained at NIH by Arthur David Olson. For reasons only he understands, Pacific Standard Time is called America/Los_Angeles. As far as I can tell, Olson's timezone data can be found here: ftp://elsie.nci.nih.gov/pub/ Sun's JDK puts timezone data in $JAVA_HOME/jre/lib/zi/ Sun's JDK's timezone info seems fairly different from what, say, Fedora Core distributes in its tzdata RPM: | $ find /usr/share/zoneinfo/ -type f -printf '%P\n' | sort > /tmp/linux-tzdata.txt | $ find /usr/local/j2sdk1.4.2_08/jre/lib/zi -type f -printf '%P\n' | sort > /tmp/java-tzdata.txt | $ diff /tmp/linux-tzdata.txt /tmp/java-tzdata.txt | wc -l | 1309