Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 8B58C9FA2D8 for ; Mon, 23 Jul 2007 19:55:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 05489-03 for ; Mon, 23 Jul 2007 19:54:58 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by postgresql.org (Postfix) with ESMTP id A2E979FA297 for ; Mon, 23 Jul 2007 19:55:02 -0300 (ADT) Received: from 222-154-149-187.jetstream.xtra.co.nz ([222.154.149.187] helo=[10.1.1.3]) by tremor.opencloud.co.nz with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1ID6ns-0006X1-9E; Tue, 24 Jul 2007 10:55:00 +1200 Message-ID: <46A531CD.20904@opencloud.com> Date: Tue, 24 Jul 2007 10:55:09 +1200 From: Oliver Jowett User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Mikko Tiihonen CC: pgsql-jdbc Subject: Re: Make time/timestamp tests fair for binary transfers References: <1185213747.1632.116.camel@dual.local> <46A52C0B.7070608@opencloud.com> In-Reply-To: <46A52C0B.7070608@opencloud.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/108 X-Sequence-Number: 17282 Oliver Jowett wrote: > (I wonder what java.sql.Time.valueOf() returns in timezones ahead of > UTC? Might be worth testing..) Time.valueOf("00:00:00").getTime() returns -43200000 in a +1200 timezone, so I'd be happier keeping negative values to be consistent with that. -O