|
IntlCalendar::setFirstDayOfWeekSet the day on which the week is deemed to start DescriptionObject-oriented style
public true IntlCalendar::setFirstDayOfWeek(int
$dayOfWeek )Procedural style true intlcal_set_first_day_of_week(IntlCalendar
$calendar , int $dayOfWeek )
Defines the day of week deemed to start the week. This affects the behavior
of fields that depend on the concept of week start and end such as
Parameters
Return Values
Always returns Changelog
Examples
Example #1 IntlCalendar::setFirstDayOfWeek
The above example will output: int(2) local day of week: 7 week of month : 4 week of year : 26 local day of week: 1 week of month : 5 week of year : 27 |