The Trunk: Chronology-Core-nice.43.mcz

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

The Trunk: Chronology-Core-nice.43.mcz

commits-2
Nicolas Cellier uploaded a new version of Chronology-Core to project The Trunk:
http://source.squeak.org/trunk/Chronology-Core-nice.43.mcz

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

Name: Chronology-Core-nice.43
Author: nice
Time: 6 May 2019, 9:10:03.294118 am
UUID: 618d928a-7b12-4cfa-80f9-4e4b47039ad8
Ancestors: Chronology-Core-nice.42, Chronology-Core-cbc.41

Merge Chronology-Core-nice.42, Chronology-Core-cbc.41

=============== Diff against Chronology-Core-nice.42 ===============

Item was added:
+ ----- Method: DateAndTime>>dayOfLocalWeek (in category 'ansi protocol') -----
+ dayOfLocalWeek
+
+ "Sunday=1, ... , Saturday=7"
+
+ ^ (self julianDayNumber + 2 - Week weekdayStartIndex rem: 7) + 1
+ !

Item was added:
+ ----- Method: Timespan>>dayOfLocalWeek (in category 'ansi protocol') -----
+ dayOfLocalWeek
+ "Answer the day of the week represented by the receiver."
+
+ ^ start dayOfLocalWeek!

Item was added:
+ ----- Method: Week class>>weekdayStartIndex (in category 'squeak protocol') -----
+ weekdayStartIndex
+ ^self indexOfDay: self startDay!