FoundationDB/sql-layer — pull request #1040 by MMcM (2013-11-12 17:00:26+00:00)
Title: Use Calendar, rather than arithmetic to compute expected times

The definition of Time is that it's 1/1/70, not that it's millis less than a day's worth. Previous code could produce Time values on 12/31/69. This is also more transparent.