Re: Make time/timestamp tests fair for binary transfers

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Mikko Tiihonen <mikko(dot)tiihonen(at)iki(dot)fi>
Cc: pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Make time/timestamp tests fair for binary transfers
Date: 2007-07-23 22:55:09
Message-ID: 46A531CD.20904@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Mikko Tiihonen 2007-07-24 00:01:55 Re: Make time/timestamp tests fair for binary transfers
Previous Message Oliver Jowett 2007-07-23 22:30:35 Re: Make time/timestamp tests fair for binary transfers