Re: Date & TimeZone classes for your consideration
| From: | Martin Jansen | Date: | Sun, 05 May 2002 20:08:14 +0000 |
| Subject: | Re: Date & TimeZone classes for your consideration | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-5979@lists.php.net to get a copy of this message | ||
On Sun, 05 May 2002 07:25:21 -0500, Baba Buehler wrote:
>I'm working on a largish project and I found myself wanting nice generic
>date and timezone classes like those found in Java. Since I was doing most
>of the work for myself anyway, I figured I'd flush them out and submit them
>for possible inclusion in PEAR.
>
>
>The source, a .tar.gz, and PHPDoc for these classes are at:
>http://babaz.com/stuff/date/
>
>
>The two classes I have are:
>
>Date
>----
>Generic date/time handling class.
>
>Date::TimeZone
>--------------
>Based on Java's java.util.Timezone, and includes timezone data extracted
>from the zoneinfo database.
You're stressing PHP's maximum array size here, aren't you ;-). Did you
run some benchmarks to check if the big timezone array has an impact
on the script's performance?
Basically I think you've done great work and I think that it would
be nice to have something like this in PEAR.
- Martin
--
Martin Jansen, <mail@martin-jansen.de>
http://www.martin-jansen.de/