[pgjdbc/pgjdbc] c9a707: fix #1499 rounding for timestamps truncated to dat...

Dave Cramer <[email protected]> Mon, 17 Jun 2019 07:36:22 -0700
Newsgroups gmane.comp.db.postgresql.jdbc
Message-ID <pgjdbc/pgjdbc/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: c9a70782b3818609ca29e19d1a4aa0af89d96382
      https://github.com/pgjdbc/pgjdbc/commit/c9a70782b3818609ca29e19d1a4aa0af89d96382
  Author: Dave Cramer <[email protected]>
  Date:   2019-06-17 (Mon, 17 Jun 2019)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/jdbc/TimestampUtils.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/TimestampTest.java

  Log Message:
  -----------
  fix #1499 rounding for timestamps truncated to dates before 1970 (#1502)

* fix #1499 rounding for timestamps truncated to dates before 1970

* Implement floorDiv until we drop support for Java 1.7