|
IntlCalendar::isWeekendWhether a certain date/time is in the weekend DescriptionObject-oriented style
public bool IntlCalendar::isWeekend(floatnull
$timestamp = null )Procedural style bool intlcal_is_weekend(IntlCalendar
$calendar , floatnull $timestamp = 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. Parameters
Return ValuesA bool indicating whether the given or this objectʼs time occurs in a weekend. On failure Examples
Example #1 IntlCalendar::isWeekend
See Also
|