[BUG][FIX] accurateDateAndTimeNow-brp
Brent Pinkney
brent.pinkney at aircom.co.za
Tue Mar 16 15:54:31 UTC 2004
Avi,
I have merged Avi's your accurateDateAndTimeNow-avi changeset (v2) with
the original Chronology code.
This now answers the correct time (sweet mercy) , but preserves the logic
so that
(DateAndTime now) <= (DateAndTime now) is always false.
I took the liberty of renaming a few methods to be more consistent.
On my box: [ 100000 timesRepeat: [ DateAndTime now] ] timeToRun ==> 17265
This changeset passes all the relevant SUnit tests in the
'Kernel-Chronology-Tests' category.
Cheers
- Brent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accurateDateAndTimeNow-brp.1.cs.gz
Type: application/x-gzip
Size: 1027 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040316/562ebb6d/accurateDateAndTimeNow-brp.1.cs.bin
More information about the Squeak-dev
mailing list
|