Re: Proposed new package: Time.
| From: | Leandro Lucarella | Date: | Fri, 21 Feb 2003 13:18:26 +0000 |
| Subject: | Re: Proposed new package: Time. | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-13544@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Pierre-Alain Joye, el viernes 21 de febrero a las 12:25 me escribiste:
> On Fri, 21 Feb 2003 12:08:39 +0100
> Martin Jansen <mj@php.net> wrote:
>
> > On Fri Feb 21, 2003 at 11:4958AM +0100, Pierre-Alain Joye wrote:
> > > Sounds good to me, but I prefer to see it inside Date package
> > > instead of a new package.
> >
> > What is your reasoning behind this idea?
>
> Timezone is already in Date, I do not think it's necessary to have a
> Time_Calc and a Date_Calc. imho, a common package is a good thing.
I don't think so. I need just to operate times, if I use a Date_Time
class is an useless overhead. I thought maybe we can add a Date_DateTime
package or so to mix both.
Another reason is (even when now it just works with 24 hs) I want this
class to support "infinite" hours, say "The proccess takes 78:40:23
hours" or so, this has no sense in a Date_Time class.
That's why I proposed to be a "root level" class and don't put it on
Date subdirectory.
I want to add a 24hs flag to this class so it can be safe to mix it with
Date to make a Date_Time class.
- --
LUCA - Leandro Lucarella - Usando Debian GNU/Linux Sid - GNU Generation
- ------------------------------------------------------------------------
E-Mail / JID: luca@lugmen.org.ar
GPG Fingerprint: D9E1 4545 0F4B 7928 E82C 375D 4B02 0FE0 B08B 4FB2
GPG Key: gpg --keyserver pks.lugli.org.ar --recv-keys B08B4FB2
- ------------------------------------------------------------------------
La manera en que una persona toma las riendas de su destino es más determinante
que el mismo destino.
-- Barón de Humboldt. (1767-1835) Filólogo y crítico alemán.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD4DBQE+ViciSwIP4LCLT7IRAol1AJ0U73ByxjZeQJvX7GoHHmtJkzwHFQCY+zqD
8yjxmSwPl0p4KwsaRW5n5w==
=OdA9
-----END PGP SIGNATURE-----