[BUG][FIX] Timspan starting: Date today duration: 0 "gets
negative duration" - 1 attachment [cd][su][sm]
Brent Pinkney
brent.pinkney at aircom.co.za
Thu Sep 23 09:55:56 UTC 2004
Change Set: timespanZeroDuration-brp
Date: 23 September 2004
Author: Brent Pinkney
The problem was identified by Ingo Hohman.
Added two new tests:
TimespanTest>>#testZeroDuration
TimespanTest>>#testClockPrecision
A fix was added to Timespan>>#end
Note. A time span of zero duration is equivalent to a time span of
duration equal to the clock precision (DateAndTime>>#clockPrecision).
A more complete enhancement to remove the #end ambiguity will follow in
in 3.8 I promise.
Brent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timespanZeroDuration-brp.1.cs.gz
Type: application/x-gzip
Size: 521 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040923/f1986753/timespanZeroDuration-brp.1.cs.bin
More information about the Squeak-dev
mailing list
|