Skip to content

Commit 55e641d

Browse files
committed
Add codecs for Instant and legacy Date to README
1 parent 1d074de commit 55e641d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ This reference table shows the type mapping between [PostgreSQL][p] and Java dat
278278
| [`text`][psql-text-ref] | [**`String`**][java-string-ref], `Clob`|
279279
| [`time [without time zone]`][psql-time-ref] | [`LocalTime`][java-lt-ref]|
280280
| [`time [with time zone]`][psql-time-ref] | Not yet supported.|
281-
| [`timestamp [without time zone]`][psql-time-ref]|[**`LocalDateTime`**][java-ldt-ref], [`LocalTime`][java-lt-ref], [`LocalDate`][java-ld-ref]|
282-
| [`timestamp [with time zone]`][psql-time-ref] | [**`OffsetDatetime`**][java-odt-ref], [`ZonedDateTime`][java-zdt-ref]|
281+
| [`timestamp [without time zone]`][psql-time-ref]|[**`LocalDateTime`**][java-ldt-ref], [`LocalTime`][java-lt-ref], [`LocalDate`][java-ld-ref], [`java.util.Date`][java-legacy-date-ref]|
282+
| [`timestamp [with time zone]`][psql-time-ref] | [**`OffsetDatetime`**][java-odt-ref], [`ZonedDateTime`][java-zdt-ref], [`Instant`][java-instant-ref]|
283283
| [`tsquery`][psql-tsquery-ref] | Not yet supported.|
284284
| [`tsvector`][psql-tsvector-ref] | Not yet supported.|
285285
| [`txid_snapshot`][psql-txid_snapshot-ref] | Not yet supported.|
@@ -349,6 +349,7 @@ Support for the following single-dimensional arrays (read and write):
349349
[java-ldt-ref]: https://docs.oracle.com/javase/8/docs/api/java/time/LocalDateTime.html
350350
[java-ld-ref]: https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html
351351
[java-lt-ref]: https://docs.oracle.com/javase/8/docs/api/java/time/LocalTime.html
352+
[java-legacy-date-ref]: https://docs.oracle.com/javase/8/docs/api/java/util/Date.html
352353
[java-odt-ref]: https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html
353354
[java-primitive-ref]: https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html
354355
[java-short-ref]: https://docs.oracle.com/javase/8/docs/api/java/lang/Short.html

0 commit comments

Comments
 (0)