PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Date and Time » Calendar

A package for building Calendar data structures (irrespective of output)

This package is unmaintained.

Download latest release 0.5.5 (there might be newer Composer installable version)

License: PHP

Description

Calendar provides an API for building Calendar data structures. Using
the simple iterator and it's "query" API, a user interface can easily be
built on top of the calendar data structure, at the same time easily connecting it
to some kind of underlying data store, where "event" information is
being held.

It provides different calculation "engines" the default being based on
Unix timestamps (offering fastest performance) with an alternative using PEAR::Date
which extends the calendar past the limitations of Unix timestamps. Other engines
should be implementable for other types of calendar (e.g. a Chinese Calendar based
on lunar cycles).

Documentation

Manual

Maintainers

Dependencies

Required

Optional

Releases

Bugs

IDStatusTypeVersionDateSummary
#169ClosedBug2003-10-30Calendar and APC problems
#256ClosedBug2003-11-15Example 11.php does not work.
#273ClosedBug2003-11-18example 2.php is broken
#751ClosedBug2004-02-13[Feature Request] Calendar_Day::isWeekend()
#1386BogusBug2004-05-11Multiple entries not possible
#1440ClosedBug2004-05-19bug in Week class in setSelection
#1798ClosedBug2004-07-05Week class doesn't support selections that span months
#1880ClosedReq2004-07-15Get month/day values with leading zero
#1995ClosedBug2004-07-27thisWeek, prevWeek, nextWeek not affected when set new timestamp
#2382ClosedBug2004-09-23Calendar->thisDay($asTs) returns a timestamp no matter what $asTs is
#2416ClosedBug2004-09-30Documentation Error
#2418ClosedBug2004-09-30Year:build() setting start of week does not work
#2630Wont fixReq2004-10-27Add fetchWeek method to year and month class
#2633ClosedBug2004-10-27Calendar_Week thisWeek not working
#2640ClosedBug2004-10-28Problem with the example file 2.php
#2642ClosedReq2004-10-29Add isToday method to Calendar_Month_*
#3073ClosedBug2004-12-31Calendar_Month_Weekdays, empty days at year change
#3183ClosedBug2005-01-12Problem with Calendar_Util_textual and gmmktime()
#3300No FeedbackReq2005-01-26Extending decorator payload functionality to Months
#3445ClosedBug2005-02-12bug in Calendar_Week::thisWeek()
#4694BogusReq2005-06-28Missing "optional" for parameter in Calendar::Month::Weekdays-Constructor
#5236BogusBug2005-08-29isEmpty() Bug
#5749BogusBug2005-10-21Current year is actually last year
#8192BogusBug0.5.32006-07-12Calendar_Week and isEmpty
#8447BogusBug0.5.32006-08-15isValidWeek method missing in class Calendar_Validator
#8758ClosedBug0.5.32006-09-21Week-class displays wrong year
#9425ClosedDoc0.5.32006-11-23Missing build method in code sample
#11035ClosedDoc0.5.32007-05-15Mistake in Calendar_Week documentation
#11036ClosedDoc0.5.32007-05-15Sample code for Calendar_Week is missing some code
#12542ClosedBug0.5.32007-11-28Calendar_Util_Textual::orderedWeekdays() doesn't consider $firstDay
#13407BogusDoc2008-03-17User note that is a documentation problem
#13408DuplicateDoc2008-03-17User note that is a documentation problem
#17182ClosedBug0.5.42010-03-02Calendar/Month/Weeks.php bug
#17389ClosedBug0.5.42010-05-12PHP Deprecated: Assigning the return value of new by reference is deprecated
#17524OpenReq0.5.52010-06-26Use static keyword for static methods