[ENH][FIX] DateTimeFactoredPrint-nk v2 (more tests, speedup for BFAV)

ned at squeakland.org ned at squeakland.org
Tue Mar 30 19:29:28 UTC 2004


"Change Set:		DateTimeFactoredPrint-nk
Date:			30 March 2004
Author:			Ned Konz

Makes all the Kernel-Chronology-Tests test cases pass in a 5816 image.

This requires the following prerequisites:
	accurateDateAndTimeNowV2-avi (21 February, Avi Bryant)
	testChronologyHours12-brp (12 March, Brent Pinkney)
	chronologyTimeStampNow-brp (12 March, Brent Pinkney)

v2 (30 March 2004):

- sped up DateAndTime comparisons considerably (very noticeable on BFAV)
- sped up DateAndTime creation (ticks:offset:)
- added default initialization of Duration to 0
- sped up Duration class>>seconds: and Duration class>>zero
- fixed broken test cases
- added timezone saving/restoring to test cases
- removed linefeeds
- removed some assumptions about strict monotonicity of Timestamps from
test cases
  (which is appropriate for this version of the Timestamp code, but may
need to
  be revisited if the Timestamp logic is changed).

v1 (12 March 2004):

- Factors DateAndTime>>printOn: into separate parts for easier use.
- Omits leading space by default in printOn:
- Adds alternative printOn:withLeadingSpace:
- Fixes DateAndTime test cases
- Omits recompilation of Deprecated>>defaultAction from test cases (why
was this done?)
- Fixes the spelling of 'Greenwich'
- Adds a class comment to Date
- Changes TimeZone default to report UTC rather than GMT

"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DateTimeFactoredPrint-nk.cs.gz
Type: application/octet-stream
Size: 3993 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040330/105074eb/DateTimeFactoredPrint-nk.cs.obj


More information about the Squeak-dev mailing list