Thread: Error in JDBC 'Date and Time' docs

Error in JDBC 'Date and Time' docs

From
David Schmidt
Date:
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

From
Vladimir Sitnikov
Date:
>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

From
Vladimir Sitnikov
Date:
>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