update : 2015.11.03
php.shukuma.com검색:
|
IntlCalendar::getDayOfWeekType(PHP 5.5.0, PECL >= 3.0.0a1) IntlCalendar::getDayOfWeekType — Tell whether a day is a weekday, weekend or a day that has a transition between the two 설명객체 기반 형식
public int IntlCalendar::getDayOfWeekType
( int
$dayOfWeek
)절차식 형식
Returns whether the passed day is a weekday
(
If the return is either
This function requires ICU 4.4 or later. 인수
반환값
Returns one of the constants
예제
Example #1 IntlCalendar::getDayOfWeekType()
<?php 위 예제의 출력: Locale: English (United States) 1 3 86400000 2 0 3 0 4 0 5 0 6 0 7 1 Locale: Arabic (Saudi Arabia) 1 0 2 0 3 0 4 0 5 1 6 3 86400000 7 0 |