[ANN] Chronology Package on Squeak Map
Ingo Hohmann
uysl0l402 at sneakemail.com
Thu Sep 11 19:10:30 UTC 2003
Hi Brent,
Brent Pinkney wrote:
> On Thu, 11 Sep 2003 16:40:30 +0200, Ingo Hohmann
> <uysl0l402 at sneakemail.com> wrote:
>
>>
>> which would allow to compare Date and DateAndTime values without
>> taking the time into account.
>>
>
> dt := DateAndTime now.
> d := Date today.
>
> dt asDate < d asDate.
>
> I prefer asXYZ.. methods to functions.
And I'm lazy, that's why I prefer functions ;-) , but actually I
implemented them just the way you show it here... at least in the end.
Kind regards,
Ingo
More information about the Squeak-dev
mailing list
|