<?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 => 'uk',
  ),
  'this' => 
  array (
    0 => 'intlcalendar.getrepeatedwalltimeoption.php',
    1 => 'IntlCalendar::getRepeatedWallTimeOption',
    2 => 'Get behavior for handling repeating wall time',
  ),
  'up' => 
  array (
    0 => 'class.intlcalendar.php',
    1 => 'IntlCalendar',
  ),
  'prev' => 
  array (
    0 => 'intlcalendar.getnow.php',
    1 => 'IntlCalendar::getNow',
  ),
  'next' => 
  array (
    0 => 'intlcalendar.getskippedwalltimeoption.php',
    1 => 'IntlCalendar::getSkippedWallTimeOption',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/intl/intlcalendar/getrepeatedwalltimeoption.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="intlcalendar.getrepeatedwalltimeoption" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">IntlCalendar::getRepeatedWallTimeOption</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::getRepeatedWallTimeOption</span> &mdash; <span class="dc-title">Get behavior for handling repeating wall time</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-intlcalendar.getrepeatedwalltimeoption-description">
  <h3 class="title">Опис</h3>
  <p class="para">
   Об&#039;єктно-орієнтований стиль
  </p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>IntlCalendar::getRepeatedWallTimeOption</strong></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   Процедурний стиль
  </p>
  <div class="methodsynopsis dc-description"><span class="methodname"><strong>intlcal_get_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="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   Gets 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>.
  </p>
  <p class="para">
   This function requires ICU 4.9 or later.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-intlcalendar.getrepeatedwalltimeoption-parameters">
  <h3 class="title">Параметри</h3>
  <dl>
   
    <dt><code class="parameter">calendar</code></dt>
    <dd>
     <p class="para">Примірник
<span class="classname"><a href="class.intlcalendar.php" class="classname">IntlCalendar</a></span>.</p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-intlcalendar.getrepeatedwalltimeoption-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <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>
 </div>



 <div class="refsect1 examples" id="refsect1-intlcalendar.getrepeatedwalltimeoption-examples">
  <h3 class="title">Приклади</h3>
  <p class="para">
   <div class="example" id="example-1">
   <p><strong>Приклад #1 <span class="function"><strong>IntlCalendar::getRepeatedWallTimeOption()</strong></span></strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />ini_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'date.timezone'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Europe/Lisbon'</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">ini_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'intl.default_locale'</span><span style="color: #007700">, </span><span style="color: #DD0000">'en_US'</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">ini_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'intl.error_level'</span><span style="color: #007700">, </span><span style="color: #0000BB">E_WARNING</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//On October 27th at 0200, the clock goes back 1 hour and from GMT+01 to GMT+00<br /></span><span style="color: #0000BB">$cal </span><span style="color: #007700">= new </span><span style="color: #0000BB">IntlGregorianCalendar</span><span style="color: #007700">(</span><span style="color: #0000BB">2013</span><span style="color: #007700">, </span><span style="color: #0000BB">9 </span><span style="color: #FF8000">/* October */</span><span style="color: #007700">, </span><span style="color: #0000BB">27</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">30</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$cal</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getRepeatedWalltimeOption</span><span style="color: #007700">()); </span><span style="color: #FF8000">// 0 WALLTIME_LAST<br /><br /></span><span style="color: #0000BB">$formatter </span><span style="color: #007700">= </span><span style="color: #0000BB">IntlDateFormatter</span><span style="color: #007700">::</span><span style="color: #0000BB">create</span><span style="color: #007700">(<br />    </span><span style="color: #0000BB">NULL</span><span style="color: #007700">,<br />    </span><span style="color: #0000BB">IntlDateFormatter</span><span style="color: #007700">::</span><span style="color: #0000BB">FULL</span><span style="color: #007700">,<br />    </span><span style="color: #0000BB">IntlDateFormatter</span><span style="color: #007700">::</span><span style="color: #0000BB">FULL</span><span style="color: #007700">,<br />    </span><span style="color: #DD0000">'UTC'<br /></span><span style="color: #007700">);<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$formatter</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">format</span><span style="color: #007700">(</span><span style="color: #0000BB">$cal</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getTime</span><span style="color: #007700">() / </span><span style="color: #0000BB">1000.</span><span style="color: #007700">));<br /><br /></span><span style="color: #0000BB">$cal</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setRepeatedWalltimeOption</span><span style="color: #007700">(</span><span style="color: #0000BB">IntlCalendar</span><span style="color: #007700">::</span><span style="color: #0000BB">WALLTIME_FIRST</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$cal</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getRepeatedWalltimeOption</span><span style="color: #007700">()); </span><span style="color: #FF8000">// 1 WALLTIME_FIRST<br /></span><span style="color: #0000BB">$cal</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">IntlCalendar</span><span style="color: #007700">::</span><span style="color: #0000BB">FIELD_HOUR_OF_DAY</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$formatter</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">format</span><span style="color: #007700">(</span><span style="color: #0000BB">$cal</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getTime</span><span style="color: #007700">() / </span><span style="color: #0000BB">1000.</span><span style="color: #007700">));</span></span></code></div>
    </div>

    <div class="example-contents"><p>Поданий вище приклад
виведе:</p></div>
    <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">int(0)
string(42) &quot;Sunday, October 27, 2013 at 1:30:00 AM GMT&quot;
int(1)
string(43) &quot;Sunday, October 27, 2013 at 12:30:00 AM GMT&quot;</pre>
</div>
    </div>
   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-intlcalendar.getrepeatedwalltimeoption-seealso">
  <h3 class="title">Прогляньте також</h3>
  <p class="para">
   <ul class="simplelist">
    <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>
    <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.setrepeatedwalltimeoption.php" class="methodname" rel="rdfs-seeAlso">IntlCalendar::setRepeatedWallTimeOption()</a> - Set behavior for handling repeating wall times at negative timezone offset transitions</span></li>
   </ul>
  </p>
 </div>


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