<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.intlcalendar.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'intlcalendar.setrepeatedwalltimeoption.php',
    1 => 'IntlCalendar::setRepeatedWallTimeOption',
    2 => 'Set behavior for handling repeating wall times at negative timezone offset transitions',
  ),
  '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' => 'en',
    'path' => 'reference/intl/intlcalendar/setrepeatedwalltimeoption.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="intlcalendar.setrepeatedwalltimeoption" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">IntlCalendar::setRepeatedWallTimeOption</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.5.0, PHP 7, PHP 8, PECL &gt;= 3.0.0a1)</p><p class="refpurpose"><span class="refname">IntlCalendar::setRepeatedWallTimeOption</span> &mdash; <span class="dc-title">Set behavior for handling repeating wall times at negative timezone offset transitions</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-intlcalendar.setrepeatedwalltimeoption-description">
  <h3 class="title">Description</h3>
  <p class="para">
   Object-oriented style
  </p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>IntlCalendar::setRepeatedWallTimeOption</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$option</code></span>): <span class="type"><a href="language.types.singleton.php" class="type true">true</a></span></div>

  <p class="para rdfs-comment">
   Procedural style
  </p>
  <div class="methodsynopsis dc-description"><span class="methodname"><strong>intlcal_set_repeated_wall_time_option</strong></span>(<span class="methodparam"><span class="type"><a href="class.intlcalendar.php" class="type IntlCalendar">IntlCalendar</a></span> <code class="parameter">$calendar</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$option</code></span>): <span class="type"><a href="language.types.singleton.php" class="type true">true</a></span></div>

  <p class="para rdfs-comment">
   Sets the current strategy for dealing with wall times that are repeated
   whenever the clock is set back during dailight saving time end transitions.
   The default value is <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.walltime-last">IntlCalendar::WALLTIME_LAST</a></code></strong> (take
   the post-DST instant). The other possible value is
   <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.walltime-first">IntlCalendar::WALLTIME_FIRST</a></code></strong> (take the instant that
   occurs during DST).
  </p>
  <p class="para">
   This function requires ICU 4.9 or later.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-intlcalendar.setrepeatedwalltimeoption-parameters">
  <h3 class="title">Parameters</h3>
  <dl>
   
    <dt><code class="parameter">calendar</code></dt>
    <dd>
     <p class="para">An <span class="classname"><a href="class.intlcalendar.php" class="classname">IntlCalendar</a></span> instance.</p>
    </dd>
   
   
    <dt><code class="parameter">option</code></dt>
    <dd>
     <p class="para">
      One of the constants <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.walltime-first">IntlCalendar::WALLTIME_FIRST</a></code></strong> or
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.walltime-last">IntlCalendar::WALLTIME_LAST</a></code></strong>.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-intlcalendar.setrepeatedwalltimeoption-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Always returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-intlcalendar.setrepeatedwalltimeoption-changelog">
  <h3 class="title">Changelog</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Version</th>
       <th>Description</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
 <td>8.2.0</td>
 <td>
  The return type is <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> now; previously, it was <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>.
 </td>
</tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-intlcalendar.setrepeatedwalltimeoption-examples">
  <h3 class="title">Examples</h3>
  <p class="para">
   See the example on
   <span class="function"><a href="intlcalendar.getrepeatedwalltimeoption.php" class="function">IntlCalendar::getRepeatedWallTimeOption()</a></span>.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-intlcalendar.setrepeatedwalltimeoption-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="methodname"><a href="intlcalendar.getrepeatedwalltimeoption.php" class="methodname" rel="rdfs-seeAlso">intlCalendar::getRepeatedWallTimeOption()</a> - Get behavior for handling repeating wall time</span></li>
    <li><span class="methodname"><a href="intlcalendar.setskippedwalltimeoption.php" class="methodname" rel="rdfs-seeAlso">intlCalendar::setSkippedWallTimeOption()</a> - Set behavior for handling skipped wall times at positive timezone offset transitions</span></li>
    <li><span class="methodname"><a href="intlcalendar.getskippedwalltimeoption.php" class="methodname" rel="rdfs-seeAlso">intlCalendar::getSkippedWallTimeOption()</a> - Get behavior for handling skipped wall time</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>