Re: Preliminary Proposal for calculator for suntimes / moontimes
| From: | Jon Parise | Date: | Sun, 31 Aug 2003 20:18:21 +0000 |
| Subject: | Re: Preliminary Proposal for calculator for suntimes / moontimes | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20947@lists.php.net to get a copy of this message | ||
On Wed, Aug 27, 2003 at 11:08:11AM +0200, Alexander Wirtz wrote:
> 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.
I would like to see them added to the existing Date package or
released as a separate Date_SunMoon package.
Nice code, by the way.
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)