The Inbox: Kernel-cbr.475.mcz

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

The Inbox: Kernel-cbr.475.mcz

commits-2
A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-cbr.475.mcz

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

Name: Kernel-cbr.475
Author: cbr
Time: 28 July 2010, 6:18:23.911 pm
UUID: 6834d591-a86a-49c7-aedc-6fb30a6086e5
Ancestors: Kernel-eem.474

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

=============== Diff against Kernel-eem.474 ===============

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.!