On Sun, 7 Mar 2004 [EMAIL PROTECTED] wrote:

> This version has a few changes in the API.
> Comments are welcome - module name, methods,
> optimizations ...
>
>   http://www.geocities.com/fglock/DateTime-Event-
> Spreadsheet-0.00_07.pl

I'm a bit confused about the difference between set, set_function, and
set_action.  They look more or less exactly the same.

A couple other questions.  The docs for the next/previous/etc.
methods say:

 Returns the DateTime that best fits the function, and the list of
 cells that contain it.

Best fits is awfully nebulous.  What if there are no datetimes before the
given argument when previous is called?  What is a "best fit" for
current()?

I think that it'd be better to document each method separately.  I'm happy
to write the docs if you can explain to me exactly how they work ;)

It's not said outright in the docs, but is it correct to assume that
cell functions receive the spreadsheet object as their argument?  This
needs to be stated explicitly.

I'm not sure that documenting _raw_cell is a good idea.  Someone will use
it in their code, no doubt, and then complain if it changes.

It's not clear from the docs but it seems like cells could store sets as
well as individual datetimes.  Is that true?  I think some examples of how
to use this (like the business hours + holidays idea mentioned in the
description) would be really helpful.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

Reply via email to