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 » 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