[Pharo-project] about DateAndTime =

Brent Pinkney brent at zamail.co.za
Fri Apr 23 15:50:34 EDT 2010

> Do you have examples? For month I have problems,
> Then I wonder why
> aDateAndTime = aMonth
> is better
> than
> aDateAndTime month = aMonth

Hi, Chris Muller has just told me that I am dead wron on the equality issue, so I stand corrected. He will post soon.

On the above, this is a bit of archeology - the Month and Week classes were introduced into Squeak before I added the ANSI 
Chronology classes and the whole Timespan hierarchy.

I could only get the chronology into the image by preserving compatibility.

It could probably be refactored now.


More information about the Pharo-dev mailing list