[GOODIE] TimeStamp -- why isn't this already in Squeak?
chrisn at Kronos.com
Fri Oct 13 21:28:46 UTC 2000
Hmmm. Good points. I still like TimeStamp, though.
Maybe if we had DateAndTime defined as a subclass of Magnitude and TimeStamp
as a subclass of DateAndTime we'd have ANSI compatibility as well as nice
looking code. I can tell you that VSE does not implement DateAndTime.
Guess that means that it's not ANSI compliant. I wonder how many STs are
Well, I'm off to OOPSLA, so I won't be responsive to any replies until next
Thursday. Hope y'all have a nice week and maybe I'll see you at the Squeak
BOF in MN! :-)
PS> In any case, I still recommend TimeStamp as a candidate for the base
image. VSE folks need it to be there for portability.
> -----Original Message-----
> From: Lex Spoon [SMTP:lex at cc.gatech.edu]
> Sent: Friday, October 13, 2000 12:51 PM
> To: squeak at cs.uiuc.edu
> Subject: RE: [GOODIE] TimeStamp -- why isn't this already in Squeak?
> Well, the point is, Squeak sorta *does* have a class floating around
> that combines a date, time, and a timezone. It's just not been
> integrated. People trying to use Squeak for business-style apps should
> surely be loading the ANSI extensions, though, integrated or no. In
> fact, it doesn't *seem* to cause any harm, in the bit I've used it.
> "Timestamp" does have a nicer ring to it.... But if both classes are
> the same, it would seem good to just have one of them.
> "Norton, Chris" <chrisn at Kronos.com> wrote:
> > Hi Lex.
> > I don't know what the ANSI spec says in this case, but I can tell you
> > TimeStamp is a base class in Visual Smalltalk Enterprise and that it is
> > generally useful concept. I've been using them for years "on the job".
> > Cheers,
> > ---==> Chris
> > PS> I really do like the term "TimeStamp" over "DateAndTime". It just
> > a better sound to me. :-)
> > > -----Original Message-----
> > > From: Lex Spoon [SMTP:lex at cc.gatech.edu]
> > > Sent: Friday, October 13, 2000 7:31 AM
> > > To: squeak at cs.uiuc.edu
> > > Subject: Re: [GOODIE] TimeStamp -- why isn't this already in Squeak?
> > >
> > > Is your TimeStamp what ANSI would call a DateAndTime? That is, a
> > > specific time on a specific day? If so, then someone has already
> > > implemented all the ANSI stuff, including DateAndTime. Also, someone
> > > has long ago implemented basic timezone support for DateAndTime's.
> > >
> > > The fear is that the ANSI stuff is so much code, that when it gets
> > > loaded into Squeak, tons of stuff is going to break. And besides
> > > SC is chasing much more exciting problems right now...
> > >
> > > Sorry I don't have the exact URL handy. (Someone should add it to the
> > > Swiki AllProjects page so that people can find it)
> > >
> > > -Lex
> > >
> > >
More information about the Squeak-dev