Logo Search packages:      
Sourcecode: zendframework version File versions  Download package

Zend_Date::addWeekday ( weekday,
locale = null 

Adds weekdays to the existing date object. The weekday can be a number or a string. If a localized dayname is given it will be parsed with the default locale or the optional set locale. Returned is the new date object Example: addWeekday(3); will add the difference of days from the begining of the month until wednesday.

string | integer | array | Zend_Date$monthWeekday to add
string | Zend_Locale$localeOPTIONAL Locale for parsing input
Zend_Date new date

Definition at line 3970 of file Date.php.

References _weekday().

        return $this->_weekday('add', $weekday, $locale);

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index