[ANN] FixedTime-0.0.1

Hi all,

I’ve written a module called FixedTime which is designed to calculate
the difference or sum between two fixed times. It can also be used to
calculate total seconds or minutes based on a fixed amount of time in
"00:00:00" format.

Synopsis - more documentation included in source

f1 = FixedTime.new(“01:29:33”)
f1.total_seconds -> 5373
f1.total_minutes -> 89

f2 = FixedTime.new(“00:11:07”)
f3 = f1 - f2

f3.time -> “01:18:26”

FixedTime.to_seconds(“00:22:18”) -> 1338

You can find it here:

http://www.enteract.com/~mghall/ruby/sys/sys.html

Feedback/comments appreciated. I haven’t completely settled on the
name, either. I’m considering “Stopwatch” instead.

Regards,

Dan