Here is a fix to DateAndTime's error handling, based on what Date did in 3.6. From the preamble:
As reported by Avi Bryant, version 3.6 would give an error when a date like
Date year: 2004 month: 2 day: 30 Date year: 2004 month: 2 day: 0
was created, as the 30th and 0th are 'out-of-bounds' for February of that year.
It looks like a check, formerly in Date>>newDay:month:year:, was missing after the transition to Chronology classes. This changeset restores the check.
Regards, Ben Schroeder
A good fix - added 2 new test cases. All 402 Chronology test cases pass in 3.8 alpha [6273]
squeak-dev@lists.squeakfoundation.org