[PEPr] Comment on Date and Time::Date_Holidays
| From: | PEPr | Date: | Sun, 20 Jun 2004 17:50:15 +0000 |
| Subject: | [PEPr] Comment on Date and Time::Date_Holidays | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-30969@lists.php.net to get a copy of this message | ||
Sérgio Carvalho (http://pear.php.net/user/sergiosgc) has commented on the proposal for Date and
Time::Date_Holidays.
Comment:
First, let me tell this package looks really great! It's clearly stuff I'd use time and
time again. Great idea, Carsten.
I'd like to comment a few things. First, I agree with <a href="http://pear.php.net/pepr/pepr-comments-show.php?id=85">Lorenzo</a>.
The sheer ammount of different holidays will require that the author can accept contributions of
holiday description data. It will be much easier for people to contribute holiday lists if no code
needs to be written. The package should define a description format for holiday calendars.
Then, I'd like to know how can City holiday calendars be handled. In Portugal, at least, each
city may define its own city holiday. The rest of the holiday calendar is common country-wide. Would
a specific class need to be defined for each city, and the combined with the country calendar class?
Won't this result in an explosion of classes to an exotic number?
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=85
--
Sent by PEPr, the automatic proposal system at http://pear.php.net