bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

- (unsigned)hash addition in NSCalendarDate.m


From: Marcus Müller
Subject: - (unsigned)hash addition in NSCalendarDate.m
Date: Mon, 24 May 2004 14:15:19 +0200

Hi all,

please accept the following addition to NSCalendarDate.m:

===================================================================
RCS file: /cvsroot/gnustep/gnustep/core/base/Source/NSCalendarDate.m,v
retrieving revision 1.96
diff -r1.96 NSCalendarDate.m
2467a2468,2470
> - (unsigned)hash {
>   return (unsigned)_seconds_since_ref;
> }


It allows for calendar dates to be stored as keys in dictionaries (for whatever purpose). Please note that this already works in other foundations (Apple, libFoundation) as well.

Cheers,

  Marcus

--
Marcus Mueller  .  .  .  crack-admin/coder ;-)
Mulle kybernetiK  .  http://www.mulle-kybernetik.com
Current projects: finger znek@mulle-kybernetik.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]