<?xml version="1.0" encoding="UTF-8" ?>
<p xmlns="http://pear.php.net/dtd/rest.package"    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xlink="http://www.w3.org/1999/xlink"    xsi:schemaLocation="http://pear.php.net/dtd/rest.package    http://pear.php.net/dtd/rest.package.xsd">
 <n>Calendar</n>
 <c>pear.php.net</c>
 <ca xlink:href="/rest/c/Date+and+Time">Date and Time</ca>
 <l>BSD</l>
 <s>A package for building Calendar data structures (irrespective of output)</s>
 <d>Calendar provides an API for building Calendar data structures. Using
the simple iterator and it's &amp;amp;quot;query&amp;amp;quot; 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 &amp;amp;quot;event&amp;amp;quot; information is
being held.

It provides different calculation &amp;amp;quot;engines&amp;amp;quot; 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).</d>
 <r xlink:href="/rest/r/calendar"/>
</p>