Re: Re: PACKAGE Proposal: Date_Calendar

From: Date: Sat, 09 Aug 2003 20:55:37 +0000
Subject: Re: Re: PACKAGE Proposal: Date_Calendar
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-19459@lists.php.net to get a copy of this message
On Sat, 09 Aug 2003 22:45:45 +0200 Harry Fuecks <hfuecks@phppatterns.com> wrote: > Hi Greg, > > Think you're absolutely right. I have to be frank that timewise, at > least for the near future, I won't be able to implement a Julian > "calculation engine" but what I can to, as you point out, is factor > out all the specific calculatations to a seperate class hierarchy that > is easy to replace with an alternative, depending on the problem. That > means it should be possible to tell the library to use Julian (or > otherwise) timestamps instead of Unix timestamps. I'll also keep in > mind the design objective that it should be possible to have the > library generate, say, a Chinese calendar (although no promises that > $year = new Year('Rat') is ever going to work ;). I think you can use the Date package. It provides most of the function you need for the calendar and supports a wide range of dates. hth pierre

« previous php.pear.dev (#19459) next »