Results of 1 - 4 of about 4 for isWeekend (0.003 sec.)
- IntlCalendar::isWeekend — ある日付/時刻が週末にあるかを調べる | PHP 8.3 12426
- IntlCalendar::isWeekend (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::isWeekend — ある日付/時刻が週末にあるかを調べる 説明 オブジェクト指向型 public function IntlCalendar::isWeekend ( ? float $timestamp = null ): bool 手続き
... るには、 intl_get_error_code() を使うか、 Intl拡張モジュールが 例外 をスローするように設定して下さい。 例 例1 IntlCalendar::isWeekend() <?php ini_set ( 'date.timezone' , 'Europe/Lisbon' ); $cal = new IntlGregorianCalendar ( NULL , 'en_US' ); $cal -> set ( ... 2013 , 6 /* July */ , 7 ); // a Sunday var_dump ( $cal -> isWeekend ()); // true var_dump ( $cal -> isWeekend ( strtotime ( '2013-07-01 00:00:00' ))); // false, Monday $cal = new IntlGregori ... anCalendar ( NULL , 'ar_SA' ); $cal -> set ( 2013 , 6 /* July */ , 7 ); // a Sunday var_dump ( $cal -> isWeekend ()); // false, Sunday not in weekend in this calendar 参考 IntlCalendar::getDayOfWeekType() - 指定された日が平日か、週末か ...
-
https://man.mtool.work/php/8.3/intlcalendar.isweekend.html
- IntlCalendar クラス | PHP 8.3 8321
- IntlCalendar クラス (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) はじめに クラス概要 class IntlCalendar { /* 定数 */ public const int FIELD_ERA ; public const int FIELD_YEAR ; public const int FIELD_MONTH ; public const int FIELD_WEEK_OF
... IntlCalendar $other ): bool public function isLenient (): bool public function isSet ( int $field ): bool public function isWeekend ( ? float $timestamp = null ): bool public function roll ( int $field , int | bool $value ): bool public function set ( in ... 日付と時刻の解釈を「緩いモード」で行うかを取得する IntlCalendar::isSet — フィールドが設定されているかを調べる IntlCalendar::isWeekend — ある日付/時刻が週末にあるかを調べる IntlCalendar::roll — 次のフィールドを繰り上げずに、フィールドに値を加算する IntlCale ...
-
https://man.mtool.work/php/8.3/class.intlcalendar.html
- IntlGregorianCalendar クラス | PHP 8.3 8247
- IntlGregorianCalendar クラス (PHP 5 >= 5.5.0, PHP 7, PHP 8) はじめに クラス概要 class IntlGregorianCalendar extends IntlCalendar { /* 継承した定数 */ public const int IntlCalendar::FIELD_ERA ; public const int IntlCalendar::FIELD_YEAR ; pub
... on IntlCalendar::isLenient (): bool public function IntlCalendar::isSet ( int $field ): bool public function IntlCalendar::isWeekend ( ? float $timestamp = null ): bool public function IntlCalendar::roll ( int $field , int | bool $value ): bool public fun ...
-
https://man.mtool.work/php/8.3/class.intlgregoriancalendar.html
- 国際化関数 | PHP 8.3 7951
- 国際化関数 はじめに 国際化用拡張モジュール (これ以降では Intl と略します) は » ICU ライブラリのラッパーです。 PHP プログラマが、ロケール関連のさまざまな操作を行えるようにします。 フォーマット、音訳、エンコード変換、カレンダーの処理、 » UCA
... 日付と時刻の解釈を「緩いモード」で行うかを取得する IntlCalendar::isSet — フィールドが設定されているかを調べる IntlCalendar::isWeekend — ある日付/時刻が週末にあるかを調べる IntlCalendar::roll — 次のフィールドを繰り上げずに、フィールドに値を加算する IntlCale ...
-
https://man.mtool.work/php/8.3/book.intl.html
PREV
1
NEXT