[ANN] Chronology Package on Squeak Map

Brent Pinkney brent.pinkney at aircom.co.za
Thu Sep 11 13:11:16 UTC 2003


On Sun, 07 Sep 2003 00:55:44 +0200, Ingo Hohmann <uysl0l402 at sneakemail.com> 
wrote:

>
> seems nice, but what I'm still missing is a unified way to add days to 
> Date and DateAndTime values. (But maybe it is only a bug in my classes 
> that is surfacing now, but it's too late for me to follow this further.
>

hi Ingo,

I am not convinced of the semantics of adding #-to Timespan as it is 
implemented in DateAndTime. I will try it out though.

Would the following snippet illustrate your requirements:

{ Date today. DateAndTime now } collect: [ :x | x + 10 days ].


Cheers

Brent



More information about the Squeak-dev mailing list