<?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.getweekendtransition.php',
    1 => 'IntlCalendar::getWeekendTransition',
    2 => 'Obtiene la hora del d&iacute;a en la que comienza o termina el fin de semana',
  ),
  'up' => 
  array (
    0 => 'class.intlcalendar.php',
    1 => 'IntlCalendar',
  ),
  'prev' => 
  array (
    0 => 'intlcalendar.gettype.php',
    1 => 'IntlCalendar::getType',
  ),
  'next' => 
  array (
    0 => 'intlcalendar.indaylighttime.php',
    1 => 'IntlCalendar::inDaylightTime',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'es',
    'path' => 'reference/intl/intlcalendar/getweekendtransition.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="intlcalendar.getweekendtransition" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">IntlCalendar::getWeekendTransition</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::getWeekendTransition</span> &mdash; <span class="dc-title">Obtiene la hora del día en la que comienza o termina el fin de semana</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-intlcalendar.getweekendtransition-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::getWeekendTransition</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$dayOfWeek</code></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Estilo procedimental
  </p>
  <div class="methodsynopsis dc-description"><span class="methodname"><strong>intlcal_get_weekend_transition</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">$dayOfWeek</code></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Devuelve el número de milisegundos transcurridos desde la medianoche en la hora en la que
   comienza o termina el fin de semana.
  </p>
  <p class="para">
   Esto es aplicable únicamente para los días de la semana para los cuales
   <span class="function"><a href="intlcalendar.getdayofweektype.php" class="function">IntlCalendar::getDayOfWeekType()</a></span> devuelve
   <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-type-weekend-offset">IntlCalendar::DOW_TYPE_WEEKEND_OFFSET</a></code></strong> o
   <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-type-weekend-cease">IntlCalendar::DOW_TYPE_WEEKEND_CEASE</a></code></strong>. Llamar a esta
   función para otros días de la semana es una condición de error.
  </p>
  <p class="para">
   Esta función requiere ICU 4.4 o superior.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-intlcalendar.getweekendtransition-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">dayOfWeek</code></dt>
    <dd>
     <p class="para">
      Una de las constantes <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-sunday">IntlCalendar::DOW_SUNDAY</a></code></strong>,
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-monday">IntlCalendar::DOW_MONDAY</a></code></strong>, …,
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-saturday">IntlCalendar::DOW_SATURDAY</a></code></strong>.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-intlcalendar.getweekendtransition-returnvalues">
  <h3 class="title">Valores devueltos</h3>
  <p class="para">
   El número de milisegundos transcurridos desde la medianoche en la hora en la que el fin de semana
   comienza o termina o <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si ocurre un error.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-intlcalendar.getweekendtransition-examples">
  <h3 class="title">Ejemplos</h3>
  <p class="para">
   Ver un ejemplo en <span class="function"><a href="intlcalendar.getdayofweektype.php" class="function">IntlCalendar::getDayOfWeekType()</a></span>.
  </p>
 </div>


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