<?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 => 'es',
  ),
  'this' => 
  array (
    0 => 'intlcalendar.setlenient.php',
    1 => 'IntlCalendar::setLenient',
    2 => 'Define si la interpretaci&oacute;n de la fecha/hora es tolerante',
  ),
  'up' => 
  array (
    0 => 'class.intlcalendar.php',
    1 => 'IntlCalendar',
  ),
  'prev' => 
  array (
    0 => 'intlcalendar.setfirstdayofweek.php',
    1 => 'IntlCalendar::setFirstDayOfWeek',
  ),
  'next' => 
  array (
    0 => 'intlcalendar.setminimaldaysinfirstweek.php',
    1 => 'IntlCalendar::setMinimalDaysInFirstWeek',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'es',
    'path' => 'reference/intl/intlcalendar/setlenient.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="intlcalendar.setlenient" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">IntlCalendar::setLenient</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::setLenient</span> &mdash; <span class="dc-title">Define si la interpretación de la fecha/hora es tolerante</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-intlcalendar.setlenient-description">
  <h3 class="title">Descripción</h3>
  <p class="para">
   Estilo orientado a objetos
  </p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>IntlCalendar::setLenient</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> <code class="parameter">$lenient</code></span>): <span class="type"><a href="language.types.singleton.php" class="type true">true</a></span></div>

  <p class="para rdfs-comment">
   Estilo procedimental
  </p>
  <div class="methodsynopsis dc-description"><span class="methodname"><strong>intlcal_set_lenient</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.boolean.php" class="type bool">bool</a></span> <code class="parameter">$lenient</code></span>): <span class="type"><a href="language.types.singleton.php" class="type true">true</a></span></div>

  <p class="para rdfs-comment">
   Define si la interpretación de la fecha/hora es tolerante. En tal modo,
   ciertos valores fuera de límites para algunos campos son aceptados, el
   comportamiento siendo similar a aquel de <span class="function"><a href="intlcalendar.add.php" class="function">IntlCalendar::add()</a></span> (es decir, el valor
   rebobina, reportándose en campos más significativos cada vez). Si el
   modo tolerante es desactivado, entonces tales valores generarán un error.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-intlcalendar.setlenient-parameters">
  <h3 class="title">Parámetros</h3>
  <dl>
   
    <dt><code class="parameter">calendar</code></dt>
    <dd>
     <p class="para">Una instancia de <span class="classname"><a href="class.intlcalendar.php" class="classname">IntlCalendar</a></span>.</p>
    </dd>
   
   
    <dt><code class="parameter">lenient</code></dt>
    <dd>
     <p class="para">
      Utilizar <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> para activar el modo tolerante; <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> en caso contrario.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-intlcalendar.setlenient-returnvalues">
  <h3 class="title">Valores devueltos</h3>
  <p class="para">
   Retorna siempre <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-intlcalendar.setlenient-changelog">
  <h3 class="title">Historial de cambios</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Versión</th>
       <th>Descripción</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
 <td>8.2.0</td>
 <td>
  El tipo de retorno es ahora <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>, anteriormente era <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.setlenient-examples">
  <h3 class="title">Ejemplos</h3>
  <p class="para">
   Ver un ejemplo en <span class="function"><a href="intlcalendar.islenient.php" class="function">IntlCalendar::isLenient()</a></span>.
  </p>
 </div>


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