Re: Calendar Class

From: Date: Fri, 13 Oct 2000 18:48:40 +0000
Subject: Re: Calendar Class
References: 1  Groups: php.pear 
Request: Send a blank email to php-pear+get-357@lists.php.net to get a copy of this message
Hello Monte, On Fri, Oct 13, 2000 at 10:15 -0500, Monte Ohrt wrote: > > Hi, > > I'm submitting a new class to the Pear repository, and I'd like to get > some feedback from some of you first, to be sure things are in order. > > The class (DATE_Calendar) is used for comparing and calculating calendar > dates, and formulating arrays of dates for traditional calendar display. > The unique aspect of the class is that it does not rely on 32-bit system > limitations, so dates that are pre 1970 or post 2038 work as expected. > > Class Source Pretty: > http://www.phpinsider.com/calendar/Calendar.phps > Class Source Plain: http://www.phpinsider.com/calendar/Calendar.txt!Ï d¼.«ñ_d > Ÿ'Á > > Here is a working example of using the class to display a calendar: > Example: > http://www.phpinsider.com/calendar/showCalendarMonth.php > > Here is a script that tests the raw functionality of the class: > http://www.phpinsider.com/calendar/test.php > > Let me know what you think. If all looks well, I'll commit it. This is good, except that get_Nth_Xday_of_month redundancy that isn't worth interpreter cycles IMO. I contemplated writing something like this for my needs, plus some visualizer framework. And wait, aren't public method names in PEAR preferred to be without underscores, words accented by capital letters? -- Stay tuned, MhZ mailto:mookid@sigent.ru ----------- On a clear disk you can seek forever.

« previous php.pear (#357) next »