array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'intlcalendar.setrepeatedwalltimeoption.php', 1 => 'IntlCalendar::setRepeatedWallTimeOption', ), 'up' => array ( 0 => 'class.intlcalendar.php', 1 => 'IntlCalendar', ), 'prev' => array ( 0 => 'intlcalendar.setminimaldaysinfirstweek.php', 1 => 'IntlCalendar::setMinimalDaysInFirstWeek', ), 'next' => array ( 0 => 'intlcalendar.setskippedwalltimeoption.php', 1 => 'IntlCalendar::setSkippedWallTimeOption', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ja', 'path' => 'reference/intl/intlcalendar/setrepeatedwalltimeoption.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1)
IntlCalendar::setRepeatedWallTimeOption — 負のタイムゾーンオフセットを適用した際に、繰り返される実時間をどう扱うかを設定する
オブジェクト指向型
手続き型
夏時間が終わり、時計を元に戻す際に繰り返される、
実時間をどう扱うかの戦略を設定します。
デフォルト値は
IntlCalendar::WALLTIME_LAST
(夏時間後に、時間を進めた時を採用する)
ですが、
IntlCalendar::WALLTIME_FIRST
(夏時間が終わった瞬間の時刻を採用する)
も指定できます。
この関数を使うには、ICU 4.9 以降が必要です。
calendar
IntlCalendar クラスのインスタンス。
option
IntlCalendar::WALLTIME_FIRST
,
IntlCalendar::WALLTIME_LAST
のいずれかです。
常に true
を返します。
IntlCalendar::getRepeatedWallTimeOption() の例を参照ください。