[BUG][FIX][TEST] chronologyTimeStampNow-brp
Brent Pinkney
brent.pinkney at aircom.co.za
Fri Mar 12 14:06:27 UTC 2004
Hi,
Deprecated class TimeStamp has always has second precision.
After the introduction of the ANSI Chronology classes, TimeStamp is
implemented as a subclass of DateAndTime - inadvertantly inheriting
nano-second precision.
This changest ensure that TimeStamp class>>#now and TimeStamp
class>>current clear out the nanosecond field.
Note. This means that (TimeStamp now = TimeStamp now) could be true. Fix
TimeStampTest>>#testComparing to accomodate this."!
The three changests posted today:
chronologyClassComments-brp
testChronologyHours12-brp
chronologyTimeStampNow-brp
ensure that all the SUnit tests for Kernel-Chronology pass in 3.7-5816
Cheers
Brent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chronologyTimeStampNow-brp.1.cs.gz
Type: application/x-gzip
Size: 740 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040312/7b071f06/chronologyTimeStampNow-brp.1.cs.bin
More information about the Squeak-dev
mailing list
|