|
IntlCalendar::setFirstDayOfWeekSet the day on which the week is deemed to start BeschreibungObjektorientierter Stil
public bool IntlCalendar::setFirstDayOfWeek
( int
$dayOfWeek
)Prozeduraler Stil
bool intlcal_set_first_day_of_week
( IntlCalendar
$cal
, 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
Parameter-Liste
Rückgabewerte
Returns Beispiele
Beispiel #1 IntlCalendar::setFirstDayOfWeek
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: 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 |