IntlCalendar::setMinimalDaysInFirstWeek
Set minimal number of days the first week in a year or month can have
Description
Object-oriented style
public true IntlCalendar::setMinimalDaysInFirstWeek(int $days
)
true intlcal_set_minimal_days_in_first_week(IntlCalendar $calendar
, int $days
)
Parameters
-
calendar
-
An IntlCalendar instance.
-
days
-
The number of minimal days to set.
Return Values
Always returns true
.
Errors/Exceptions
ValueError if days
is out of range
(less than 1
or more than 7
).