Обсуждение: Re: [INTERFACES] Re: ResultSet.getDate

Поиск
Список
Период
Сортировка

Re: [INTERFACES] Re: ResultSet.getDate

От
Peter Garner
Дата:
Hi Aleksey! :-)

---Aleksey Demakov <avd@gcom.ru> wrote:
>     st.executeUpdate ("set datestyle='iso'");

Thanks! :-)  That ALMOST does it! ;-)  Oddly, my
machine outputs dates as UTC (universal time clock) but
java wants to see GMT!  From what I am reading in some
of the Java usenet groups, Sun has some real problems
trying to make their date classes totally locale
portable and they have a few bugs! ;-)

Speaking of bugs, Peter, check out line 460 in
ResultSet.java.  You take the substring at from 0 to
18, I think you may want to take it from 0 to 19.
Thanks guys! ;-)
==
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


Re: [INTERFACES] Re: ResultSet.getDate

От
Peter T Mount
Дата:
On Mon, 1 Feb 1999, Peter Garner wrote:

> Hi Aleksey! :-)
>
> ---Aleksey Demakov <avd@gcom.ru> wrote:
> >     st.executeUpdate ("set datestyle='iso'");
>
> Thanks! :-)  That ALMOST does it! ;-)  Oddly, my
> machine outputs dates as UTC (universal time clock) but
> java wants to see GMT!  From what I am reading in some
> of the Java usenet groups, Sun has some real problems
> trying to make their date classes totally locale
> portable and they have a few bugs! ;-)
>
> Speaking of bugs, Peter, check out line 460 in
> ResultSet.java.  You take the substring at from 0 to
> 18, I think you may want to take it from 0 to 19.
> Thanks guys! ;-)

Will do.

> ==
> 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
>
>

--
       Peter T Mount peter@retep.org.uk
      Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
 Java PDF Generator: http://www.retep.org.uk/pdf