Error in JDBC 'Date and Time' docs

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

Error in JDBC 'Date and Time' docs

От:
David Schmidt <david.schmiddi.86@gmail.com>
Дата:
Hi,

the docs at
https://jdbc.postgresql.org/documentation/head/8-date-time.html
tell me to use the OffsetTime class for TIMESTAMP WITH TIMEZONE.

Acording to my tests and the source, this is wrong and should be OffsetDateTime:

-David

Re: Error in JDBC 'Date and Time' docs

От:
Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Дата:
>tell me to use the OffsetTime class for TIMESTAMP WITH TIMEZONE.

Nice catch. Would you volunteer to update the docs?


It looks like "time with time zone" is missing in the table

Vladimir

Re: Error in JDBC 'Date and Time' docs

От:
Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Дата:
>tell me to use the OffsetTime class for TIMESTAMP WITH TIMEZONE.

Nice catch. Would you volunteer to update the docs?


It looks like "time with time zone" is missing in the table

Vladimir
FAQ