Re[2]: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

From: Date: Fri, 07 Feb 2003 13:55:12 +0000
Subject: Re[2]: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions
References: 1 2 3 4 5 6  Groups: php.dev 
Request: Send a blank email to php-dev+get-94093@lists.php.net to get a copy of this message
Hi, Friday, February 7, 2003, 10:45:31 PM, you wrote: AH> I don't think this is good idea. AH> date_sunset(), date_sunrise() are better. AH> Andrey AH> ----- Original Message ----- AH> From: "moshe doron" <mosdoron@netvision.net.il> AH> To: <php-dev@lists.php.net> AH> Sent: Friday, February 07, 2003 2:37 PM AH> Subject: Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions >> well, what about sun_set(), sun_rise()? >> >> moshe >> -- >> >> >> "Andi Gutmans" <andi@zend.com> wrote in message AH> news:5.1.0.14.2.20030207141050.054b15f0@127.0.0.1... >> > At 12:47 PM 2/7/2003 +0200, moshe doron wrote: >> > >"Andi Gutmans" <andi@zend.com> wrote in message >> > >> > >>news:5.1.0.14.2.20030207102137.03bc7798@127.0.0.1... >> > > > I haven't been following this whole discussion. >> > > > However, the function names should follow the coding standards and AH> be >> > > named >> > > > something like date_sunrise(), date_sunset() (or whatever other AH> prefix >> > > > makes sense). >> > > > >> > > >> > >here is part of my replay to Leon Atkinson: >> > > > Also, shouldn't sunrise() and sunset() be cal_sunrise() and AH> cal_sunset()? >> > > > >> > >well, since sunset() & sunrise() have aspects more then cal_* related, AH> i >> > >thought the right place is standard. >> > > >> > >new astronomy extension, or linking against exisint lib, 'll be AH> overhead >> > >since i want use it on the calendar extension, that is build by default AH> on VC. >> > >> > Even functions in standard have a prefix. Only ancient ones don't and we >> > didn't fix them for BC reasons. >> > >> > Andi >> > >> time_sunset time_sunrise would make more sense :) -- regards, Tom

« previous php.dev (#94093) next »