pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vadim Nasardinov <vadimn@redhat.com>
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
Message-ID: <200507201416.37925@vadim.nasardinov> (raw)
In-Reply-To: <24020.1121881295@sss.pgh.pa.us>
References: <90876a9e05071810503606d431@mail.gmail.com>
	<Pine.BSO.4.56.0507201125190.5339@leary.csoft.net>
	<24020.1121881295@sss.pgh.pa.us>

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



view thread (3+ messages)  latest in thread

Message-ID: <200507201416.37925@vadim.nasardinov>
Permalink:  ../200507201416.37925@vadim.nasardinov/
Also on:    postgresql.org/message-id/200507201416.37925@vadim.nasardinov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: vadimn@redhat.com
  Subject: Re: Java's set of timezone names (was: Re: Timestamp Conversion Woes Redux)
  In-Reply-To: <200507201416.37925@vadim.nasardinov>
  References: <90876a9e05071810503606d431@mail.gmail.com> <Pine.BSO.4.56.0507201125190.5339@leary.csoft.net> <24020.1121881295@sss.pgh.pa.us> <200507201416.37925@vadim.nasardinov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox