IntlCalendar
在线手册:中文  英文

IntlCalendar::isWeekend

(PHP 5.5.0, PECL >= 3.0.0a1)

IntlCalendar::isWeekendWhether a certain date/time is in the weekend

说明

public bool IntlCalendar::isWeekend ([ float $date = NULL ] )

Warning

本函数还未编写文档,仅有参数列表。

参数

date

返回值

A bool indicating whether the given or this object?s time occurs in a weekend.

The value FALSE may also be returned on failure, for instance after giving a date out of bounds on non-lenient mode; use exceptions or query IntlCalendar::getErrorCode() to disambiguate.


IntlCalendar
在线手册:中文  英文
易百教程