private static Map<Class<?>, Integer> types() {
        final Map<Class<?>, Integer> types = new HashMap<>();
        types.put(LocalDate.class, Types.DATE);
        types.put(LocalTime.class, Types.TIME);
        types.put(LocalDateTime.class, Types.TIMESTAMP);
        types.put(OffsetDateTime.class, Types.TIMESTAMP_WITH_TIMEZONE);
        return types;
    }
Maps {@link LocalDate}, {@link LocalTime}, {@link LocalDateTime}, {@link OffsetDateTime}.
Note that no {@link java.time.Instant} override is needed.
postgres/src/main/java/org/jdbi/v3/postgres/JavaTimeArgumentFactory.java