PHP » GoLang |
login |
register |
about
|
GoLang IntlCalendar::getDayOfWeekType
request it (385)
GoLang replacement for PHP's IntlCalendar::getDayOfWeekType
[edit | history]
PHP IntlCalendar::getDayOfWeekTypePHP original manual for IntlCalendar::getDayOfWeekType [ show | php.net ]IntlCalendar::getDayOfWeekType(PHP 5 >= 5.5.0, PHP 7, PECL >= 3.0.0a1) IntlCalendar::getDayOfWeekType — Tell whether a day is a weekday, weekend or a day that has a transition between the two DescriptionObject oriented style
public int IntlCalendar::getDayOfWeekType
( int
$dayOfWeek
)Procedural style
Returns whether the passed day is a weekday
(
If the return is either
This function requires ICU 4.4 or later. Parameters
Return Values
Returns one of the constants
Examples
Example #1 IntlCalendar::getDayOfWeekType()
<?php The above example will output: 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 |
more
Recently updated
more
Most requested
more
Last requests
|