Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 8526

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Set behavior for handling repeating wall times at negative timezone offset transitions</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="intlcalendar.setlenient.html">IntlCalendar::setLenient</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intlcalendar.setskippedwalltimeoption.html">IntlCalendar::setSkippedWallTimeOption</a></div>
 <div class="up"><a href="class.intlcalendar.html">IntlCalendar</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="intlcalendar.setrepeatedwalltimeoption" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">IntlCalendar::setRepeatedWallTimeOption</h1>
  <p class="verinfo">(PHP 5.5.0, 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>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>IntlCalendar::setRepeatedWallTimeOption</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$wallTimeOption</code></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>IntlCalendar::WALLTIME_LAST</code></strong> (take
   the post-DST instant). The other possible value is
   <strong><code>IntlCalendar::WALLTIME_FIRST</code></strong> (take the instant that
   occurs during DST).
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-intlcalendar.setrepeatedwalltimeoption-parameters">
  <h3 class="title">Parameters</h3>
  <dl>

   <dt>

    <span class="term"><em><code class="parameter">wallTimeOption</code></em></span>
    <dd>

     <p class="para">
      One of the constants <strong><code>IntlCalendar::WALLTIME_FIRST</code></strong> or
      <strong><code>IntlCalendar::WALLTIME_LAST</code></strong>.
     </p>
    </dd>

   </dt>

  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-intlcalendar.setrepeatedwalltimeoption-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> on success. Failure can only happen due to invalid parameters.
  </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.html" 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 class="member"> <span class="methodname"><a href="intlcalendar.getrepeatedwalltimeoption.html" class="methodname" rel="rdfs-seeAlso">intlCalendar::getRepeatedWallTimeOption()</a> - Get behavior for handling repeating wall time</span></li>
    <li class="member"> <span class="methodname"><a href="intlcalendar.setskippedwalltimeoption.html" class="methodname" rel="rdfs-seeAlso">intlCalendar::setSkippedWallTimeOption()</a> - Set behavior for handling skipped wall times at positive timezone offset transitions</span></li>
    <li class="member"> <span class="methodname"><a href="intlcalendar.getskippedwalltimeoption.html" class="methodname" rel="rdfs-seeAlso">intlCalendar::getSkippedWallTimeOption()</a> - Get behavior for handling skipped wall time</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="intlcalendar.setlenient.html">IntlCalendar::setLenient</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intlcalendar.setskippedwalltimeoption.html">IntlCalendar::setSkippedWallTimeOption</a></div>
 <div class="up"><a href="class.intlcalendar.html">IntlCalendar</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>