[FIX][BUG] Chronology DateAndTime class>>now returns incorrect time

avi at beta4.com avi at beta4.com
Sun Feb 22 04:04:00 UTC 2004


from preamble:

"Change Set:		accurateDateAndTimeNow-avi
Date:			21 February 2004
Author:			Avi Bryant

V2: now calibrates totalSeconds against the millisecondClockValue to get
fairly accurate millisecond precision.

This fixes DateAndTime class>>now to ignore the millisecond clock and
simply return an accurate value with 1 second precision.  It also clears
out the class variables and #startUp/#initialize methods that were being
used to attempt to get (inaccurate) millisecond precision."!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accurateDateAndTimeNowV2-avi.cs.gz
Type: application/octet-stream
Size: 933 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040221/86f7df58/accurateDateAndTimeNowV2-avi.cs.obj


More information about the Squeak-dev mailing list