davedelong/calendar_fallacies

"Nobody uses the Julian calendar anymore"

eirikbakke opened this issue · 0 comments

Don't forget java.util.Timestamp, which "use the Julian calendar for dates before October 4, 1582, and the Gregorian calendar for dates starting with October 4, 1582." Tons of code in the PostgreSQL JDBC driver to work around this fact. See https://www.ibm.com/support/knowledgecenter/SSEPGG_10.5.0/com.ibm.db2.luw.apdv.java.doc/src/tpc/imjcc_r0053436.html and https://github.com/pgjdbc/pgjdbc/blob/d28deff57684349707d2b2a357048f59b0861bb1/pgjdbc/src/main/java/org/postgresql/jdbc/TimestampUtils.java#L1255 .