Find the last Sunday of each month: Difference between revisions

Line 2,713:
firstDay := Date year: yr month: 1 day: 1.
firstSunday := firstDay addDays: (1 - firstDay dayOfWeek).
(0 to: 5253)
collect: [ :each | firstSunday addDays: (each * 7) ]
thenSelect: [ :each |