From: Peter Garner <peter_garner@yahoo.com>
To: Peter T Mount <peter@retep.org.uk>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: ResultSet.getDate
Date: Mon, 1 Feb 1999 13:43:48 -0800 (PST)
Message-ID: <19990201214348.22907.rocketmail@send202.yahoomail.com> (raw)
Hi Peter! ;-)
>I'll check, but what version of the JDK/JRE are you
>using? The java.util.Date class was broken in pre
>jdk1.1.6 VM's.
I am using the JDK 1.1.7v1a from Blackdown. Indeed,
Java's handling of dates is a little funky. But in
this case the problem is that the returned strings
are not being handled properly. Calling getString
instead of getDate returns :
"Mon Feb 01 16:08:00 1999 UTC"
And the format string used in the SimpleDateFormatter
object that getDate uses to convert that string is
not correct for that format. If there is anything I
can do to help, please let me know! :-)
==
Peace,
Peter
We are Microsoft of Borg, you will be assimilated!!!
Resistance is fut... ***BZZZRT*** THUD!!!
[General Protection Fault in MSBorg32.DLL]
Please contact the vendor for more information
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: peter_garner@yahoo.com, peter@retep.org.uk
Subject: Re: ResultSet.getDate
In-Reply-To: <19990201214348.22907.rocketmail@send202.yahoomail.com>
* 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