[squeak-dev] Re: How to have a fast and usable Date? (was: new Bug in Locale)

David T. Lewis lewis at mail.msen.com
Fri Feb 3 00:59:33 UTC 2012


On Thu, Feb 02, 2012 at 06:20:05PM -0500, Jon Hylands wrote:
> On Thu, Feb 2, 2012 at 4:05 PM, David T. Lewis <lewis at mail.msen.com> wrote:
> 
> 
> > Sounds right to me. I can only add that whichever class most closely
> > resembles
> > the ANSI Smalltalk definition of Date should be called "Date", and the
> > other
> > thing can be called "Day".
> 
> 
> Dave,
> 
> On quick look it appears the ANSI standard only specifies DateAndTime, and
> not Date at all.

Ah, good. Thanks for checking.

> 
> I think Date should be renamed to Day, and then a new class (with the old
> sematics of Date as it used to be) be implemented under Magnitude.

Sounds reasonable.

> 
> I wonder how many people/projects that kind of change would affect...

It's hard to tell, although Chris is apparently using Date fairly
heavily, so if the change can be done without messing up his work
to badly, that would be a good sign :)

Dave



More information about the Squeak-dev mailing list