time.rb

Path: lib/ruby_units/time.rb
Last Update: Wed Jan 24 17:34:07 EST 2007

Time math is handled slightly differently. The difference is considered to be an exact duration if the subtracted value is in hours, minutes, or seconds. It is rounded to the nearest day if the offset is in years, decades, or centuries. This leads to less precise values, but ones that match the calendar better.

[Validate]