jruby/jruby — pull request #745 by tychobrailleur (2013-05-19 12:16:07+00:00)
Title: Fix precision issues in Time by avoiding conversions to nanoseconds. 

Fixes jruby/jruby#652

Calculations using Time are done to the nanosecond. When using dates,
the Unix time converted into nanosecond is too big (in absolute value)
to fit in a `long`. The idea in this fix is to separate the millisecond
calculation from the nanosecond one to avoid converting these dates
into nanoseconds.