***[Possible UCE]*** user-defined type example
Alan G Isaac
aisaac at american.edu
Sun Oct 8 12:06:05 EDT 2006
On Sun, 8 Oct 2006, Matt Knox apparently wrote:
> I have a custom Date class which allows creation of
> different frequency Dates (annual, monthly, etc..). Two
> dates of the same frequency can be subtracted, and
> integers can be added to a Date, with the obvious results
> in each case. I store these dates in arrays currently
> using the "object" dtype.
Just making sure you know about
http://www.egenix.com/files/python/mxDateTime.html
If you need something that is not there,
Marc-André Lemburg may be willing to add it,
if others might need it too.
Cheers,
Alan Isaac
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
More information about the NumPy-Discussion
mailing list