|
IntlCalendar::isWeekendWhether a certain date/time is in the weekend BeschreibungObjektorientierter Stil
public bool IntlCalendar::isWeekend
([ float
$date = NULL
] )Prozeduraler Stil
bool intlcal_is_weekend
( IntlCalendar
$cal
[, float $date = NULL
] )Returns whether either the obejctʼs current time or the provided timestamp occur during a weekend in this objectʼs calendar system. This function requires ICU 4.4 or later. Parameter-Liste
RückgabewerteA bool indicating whether the given or this objectʼs time occurs in a weekend.
The value Beispiele
Beispiel #1 IntlCalendar::isWeekend
<?phpSiehe auch
|