Preliminary Proposal for calculator for suntimes / moontimes
| From: | Alexander Wirtz | Date: | Wed, 27 Aug 2003 09:08:11 +0000 |
| Subject: | Preliminary Proposal for calculator for suntimes / moontimes | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-20612@lists.php.net to get a copy of this message | ||
Hi,
while working on the weather-class, I wrote two other classes, at the
moment called Date_Sun and Date_Moon
http://www.pc4p.net/downloads/Sun.phps
http://www.pc4p.net/downloads/Moon.phps
The problem now is, how to call the package as a whole? Pierre suggested
to include them directly in Date, but I'm not convinced, that this is a
good idea, I would like to keep them seperate.
I'm well aware, that PHP5 has implemented suntime-functions, so my
suggestion is, to keep two different packages Date_Sun and -_Moon, so
that it is easier to trash Sun afterwards. That means maintaining two
packages, but that's ok with me.
Please take into consideration, that I want to use them both as an
optional package in Science_Weather (or what it will be called...)
Regards,
Alexander