PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Date and Time » Calendar » Bug #2630

Add fetchWeek method to year and month class

Details

Request #2630Add fetchWeek method to year and month class
Submitted2004-10-27 13:36 UTC
Fromzoullou77 at gmail dot com
StatusWont fix
PackageCalendar
PHP Version4.3.3
Roadmaps(Not assigned)

Comments

[2004-10-27 13:36 UTC] zoullou77 at gmail dot com

Description:
------------
Hi,

It will be great to add fetchWeek method to year and month class to display year or month by week.

Reproduce code:
---------------
$year = new Calendar_Year($y);
while($week = $year->fetchWeek()) {
echo $week->thisWeek()."<br />";
}

Expected result:
----------------
1
2
3
4
5
...
51
52