The Trunk: Kernel-cmm.417.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-cmm.417.mcz

commits-2
Chris Muller uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-cmm.417.mcz

==================== Summary ====================

Name: Kernel-cmm.417
Author: cmm
Time: 5 March 2010, 4:00:52.211 pm
UUID: 1b67ae14-7a37-4ca8-ae8c-74371af5f3b5
Ancestors: Kernel-ar.416

Imcorporated fix for Year>>#previous, for leap years.

=============== Diff against Kernel-ar.416 ===============

Item was added:
+ ----- Method: Year>>previous (in category 'smalltalk-80') -----
+ previous
+ "This implementation handles leap years correctly"
+
+ ^ self class year: (self year - 1)!