Sophie

Sophie

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

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>Get the global maximum value for a field</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="intlcalendar.getlocale.html">IntlCalendar::getLocale</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intlcalendar.getminimaldaysinfirstweek.html">IntlCalendar::getMinimalDaysInFirstWeek</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.getmaximum" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">IntlCalendar::getMaximum</h1>
  <p class="verinfo">(PHP 5.5.0, PECL &gt;= 3.0.0a1)</p><p class="refpurpose"><span class="refname">IntlCalendar::getMaximum</span> &mdash; <span class="dc-title">Get the global maximum value for a field</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-intlcalendar.getmaximum-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">int</span> <span class="methodname"><strong>IntlCalendar::getMaximum</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$field</code></span>
   )</div>

  <p class="para rdfs-comment">
   Gets the global maximum for a field, in this specific calendar. This value
   is larger or equal to that returned by
    <span class="function"><a href="intlcalendar.getactualmaximum.html" class="function">IntlCalendar::getActualMaximum()</a></span>, which is in its turn
   larger or equal to that returned by
    <span class="function"><a href="intlcalendar.getleastmaximum.html" class="function">IntlCalendar::getLeastMaximum()</a></span>.
  </p>
 </div>


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

   <dt>

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

     

<p class="para">
 One of the <a href="class.intlcalendar.html" class="classname">IntlCalendar</a> date/time <a href="class.intlcalendar.html#intlcalendar.constants" class="link">field constants</a>. These are integer
 values between <em>0</em> and
 <strong><code>IntlCalendar::FIELD_COUNT</code></strong>.
</p>

    </dd>

   </dt>

  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-intlcalendar.getmaximum-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   An <span class="type"><a href="language.types.integer.html" class="type int">int</a></span> representing a field value in the fieldʼs
   unit or <strong><code>FALSE</code></strong> on failure.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-intlcalendar.getmaximum-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="methodname"><a href="intlcalendar.getactualmaximum.html" class="methodname" rel="rdfs-seeAlso">IntlCalendar::getActualMaximum()</a> - The maximum value for a field, considering the objectʼs current time</span></li>
    <li class="member"> <span class="methodname"><a href="intlcalendar.getleastmaximum.html" class="methodname" rel="rdfs-seeAlso">IntlCalendar::getLeastMaximum()</a> - Get the smallest local maximum for a field</span></li>
    <li class="member"> <span class="methodname"><a href="intlcalendar.getminimum.html" class="methodname" rel="rdfs-seeAlso">IntlCalendar::getMinimum()</a> - Get the global minimum value for a field</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.getlocale.html">IntlCalendar::getLocale</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intlcalendar.getminimaldaysinfirstweek.html">IntlCalendar::getMinimalDaysInFirstWeek</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>