The Trunk: Kernel-ar.488.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-ar.488.mcz

commits-2
Andreas Raab uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ar.488.mcz

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

Name: Kernel-ar.488
Author: ar
Time: 2 September 2010, 7:54:27.337 pm
UUID: e6aaf57a-8657-8f42-b0de-eec4c9489a7d
Ancestors: Kernel-nice.487, Kernel-cbr.475

Merging Kernel-cbr.475:

New comments for Month, Year, Week. This time without additional cruft from my image (whoops.)

=============== Diff against Kernel-nice.487 ===============

Item was changed:
  Timespan subclass: #Week
  instanceVariableNames: ''
  classVariableNames: 'StartDay'
  poolDictionaries: 'ChronologyConstants'
  category: 'Kernel-Chronology'!
 
+ !Week commentStamp: 'cbr 7/28/2010 18:11' prior: 0!
+ I represent a week.
+
+ To find out what days of the week on which Squeak is fun, select the following expression, and print it:
+
+ Week dayNames!
- !Week commentStamp: 'brp 5/13/2003 09:48' prior: 0!
- I represent a week.!

Item was changed:
  Timespan subclass: #Year
  instanceVariableNames: ''
  classVariableNames: ''
  poolDictionaries: ''
  category: 'Kernel-Chronology'!
 
+ !Year commentStamp: 'cbr 7/28/2010 18:10' prior: 0!
+ I represent a year.
+
+ Try me!! Select the following expression and print it:
+
+ Year current daysInYear "Try me again next leap year!!"!
- !Year commentStamp: 'dtl 7/11/2009 16:35' prior: 0!
- I represent a year.!

Item was changed:
  Timespan subclass: #Month
  instanceVariableNames: ''
  classVariableNames: ''
  poolDictionaries: 'ChronologyConstants'
  category: 'Kernel-Chronology'!
 
+ !Month commentStamp: 'cbr 7/28/2010 18:11' prior: 0!
+ I represent a month.
+
+ For example, to get the number of days this month, you can evaluate the following expression:
+
+ Month current daysInMonth!
- !Month commentStamp: 'brp 5/13/2003 09:48' prior: 0!
- I represent a month.!