Sophie

Sophie

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

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>The IntlTimeZone class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="intlcalendar.todatetime.html">IntlCalendar::toDateTime</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intltimezone.countequivalentids.html">IntlTimeZone::countEquivalentIDs</a></div>
 <div class="up"><a href="book.intl.html">intl</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.intltimezone" class="reference">

 <h1 class="title">The IntlTimeZone class</h1>
 

 <div class="partintro"><p class="verinfo">(PHP 5.5.0, PECL &gt;= 3.0.0a1)</p>


  <div class="section" id="intltimezone.intro">
   <h2 class="title">Introduction</h2>
   <p class="para">

   </p>
  </div>


  <div class="section" id="intltimezone.synopsis">
   <h2 class="title">Class synopsis</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">IntlTimeZone</strong>
     </span>
     {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Constants */</div>
    <div class="fieldsynopsis">
     <span class="modifier">const</span>
     <span class="type">integer</span>
      <var class="fieldsynopsis_varname"><a href="class.intltimezone.html#intltimezone.constants.display-short"><var class="varname">DISPLAY_SHORT</var></a></var>
     <span class="initializer"> = 1</span>
    ;</div>

    <div class="fieldsynopsis">
     <span class="modifier">const</span>
     <span class="type">integer</span>
      <var class="fieldsynopsis_varname"><a href="class.intltimezone.html#intltimezone.constants.display-long"><var class="varname">DISPLAY_LONG</var></a></var>
     <span class="initializer"> = 2</span>
    ;</div>

    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="type">integer</span> <span class="methodname"><a href="intltimezone.countequivalentids.html" class="methodname">countEquivalentIDs</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$zoneId</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="type">IntlTimeZone</span> <span class="methodname"><a href="intltimezone.createdefault.html" class="methodname">createDefault</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="type">IntlIterator</span> <span class="methodname"><a href="intltimezone.createenumeration.html" class="methodname">createEnumeration</a></span>
    ([ <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$countryOrRawOffset</code></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="type">IntlTimeZone</span> <span class="methodname"><a href="intltimezone.createtimezone.html" class="methodname">createTimeZone</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$zoneId</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="type">IntlTimeZone</span> <span class="methodname"><a href="intltimezone.fromdatetimezone.html" class="methodname">fromDateTimeZone</a></span>
    ( <span class="methodparam"><span class="type"><a href="class.datetimezone.html" class="type DateTimeZone">DateTimeZone</a></span> <code class="parameter">$zoneId</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="type">string</span> <span class="methodname"><a href="intltimezone.getcanonicalid.html" class="methodname">getCanonicalID</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$zoneId</code></span>
   [, <span class="methodparam"><span class="type">bool</span> <code class="parameter reference">&$isSystemID</code></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="intltimezone.getdisplayname.html" class="methodname">getDisplayName</a></span>
    ([ <span class="methodparam"><span class="type">bool</span> <code class="parameter">$isDaylight</code></span>
   [, <span class="methodparam"><span class="type">integer</span> <code class="parameter">$style</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$locale</code></span>
  ]]] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">integer</span> <span class="methodname"><a href="intltimezone.getdstsavings.html" class="methodname">getDSTSavings</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="type">string</span> <span class="methodname"><a href="intltimezone.getequivalentid.html" class="methodname">getEquivalentID</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$zoneId</code></span>
   , <span class="methodparam"><span class="type">integer</span> <code class="parameter">$index</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">integer</span> <span class="methodname"><a href="intltimezone.geterrorcode.html" class="methodname">getErrorCode</a></span>
    ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="intltimezone.geterrormessage.html" class="methodname">getErrorMessage</a></span>
    ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="type">IntlTimeZone</span> <span class="methodname"><a href="intltimezone.getgmt.html" class="methodname">getGMT</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="intltimezone.getid.html" class="methodname">getID</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">integer</span> <span class="methodname"><a href="intltimezone.getoffset.html" class="methodname">getOffset</a></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$date</code></span>
   , <span class="methodparam"><span class="type">bool</span> <code class="parameter">$local</code></span>
   , <span class="methodparam"><span class="type">integer</span> <code class="parameter reference">&$rawOffset</code></span>
   , <span class="methodparam"><span class="type">integer</span> <code class="parameter reference">&$dstOffset</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">integer</span> <span class="methodname"><a href="intltimezone.getrawoffset.html" class="methodname">getRawOffset</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="type">string</span> <span class="methodname"><a href="intltimezone.gettzdataversion.html" class="methodname">getTZDataVersion</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><a href="intltimezone.hassamerules.html" class="methodname">hasSameRules</a></span>
    ( <span class="methodparam"><span class="type"><a href="class.intltimezone.html" class="type IntlTimeZone">IntlTimeZone</a></span> <code class="parameter">$otherTimeZone</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">DateTimeZone</span> <span class="methodname"><a href="intltimezone.todatetimezone.html" class="methodname">toDateTimeZone</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><a href="intltimezone.usedaylighttime.html" class="methodname">useDaylightTime</a></span>
    ( <span class="methodparam">void</span>
   )</div>

   }</div>


  </div>
  

  <div class="section" id="intltimezone.constants">
   <h2 class="title">Predefined Constants</h2>
   <dl>


    <dt id="intltimezone.constants.display-short">
     <span class="term"><strong><code>IntlTimeZone::DISPLAY_SHORT</code></strong></span>
     <dd>

      <p class="para"/>
     </dd>

    </dt>


    <dt id="intltimezone.constants.display-long">
     <span class="term"><strong><code>IntlTimeZone::DISPLAY_LONG</code></strong></span>
     <dd>

      <p class="para"/>
     </dd>

    </dt>


   </dl>

  </div>



 </div>

 






































































































































<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="intltimezone.countequivalentids.html">IntlTimeZone::countEquivalentIDs</a> — Get the number of IDs in the equivalency group that includes the given ID</li><li><a href="intltimezone.createdefault.html">IntlTimeZone::createDefault</a> — Create a new copy of the default timezone for this host</li><li><a href="intltimezone.createenumeration.html">IntlTimeZone::createEnumeration</a> — Get an enumeration over time zone IDs associated with the
  given country or offset</li><li><a href="intltimezone.createtimezone.html">IntlTimeZone::createTimeZone</a> — Create a timezone object for the given ID</li><li><a href="intltimezone.fromdatetimezone.html">IntlTimeZone::fromDateTimeZone</a> — Create a timezone object from DateTimeZone</li><li><a href="intltimezone.getcanonicalid.html">IntlTimeZone::getCanonicalID</a> — Get the canonical system timezone ID or the normalized custom time zone ID for the given time zone ID</li><li><a href="intltimezone.getdisplayname.html">IntlTimeZone::getDisplayName</a> — Get a name of this time zone suitable for presentation to the user</li><li><a href="intltimezone.getdstsavings.html">IntlTimeZone::getDSTSavings</a> — Get the amount of time to be added to local standard time to get local wall clock time</li><li><a href="intltimezone.getequivalentid.html">IntlTimeZone::getEquivalentID</a> — Get an ID in the equivalency group that includes the given ID</li><li><a href="intltimezone.geterrorcode.html">IntlTimeZone::getErrorCode</a> — Get last error code on the object</li><li><a href="intltimezone.geterrormessage.html">IntlTimeZone::getErrorMessage</a> — Get last error message on the object</li><li><a href="intltimezone.getgmt.html">IntlTimeZone::getGMT</a> — Create GMT (UTC) timezone</li><li><a href="intltimezone.getid.html">IntlTimeZone::getID</a> — Get timezone ID</li><li><a href="intltimezone.getoffset.html">IntlTimeZone::getOffset</a> — Get the time zone raw and GMT offset for the given moment in time</li><li><a href="intltimezone.getrawoffset.html">IntlTimeZone::getRawOffset</a> — Get the raw GMT offset (before taking daylight savings time into account</li><li><a href="intltimezone.gettzdataversion.html">IntlTimeZone::getTZDataVersion</a> — Get the timezone data version currently used by ICU</li><li><a href="intltimezone.hassamerules.html">IntlTimeZone::hasSameRules</a> — Check if this zone has the same rules and offset as another zone</li><li><a href="intltimezone.todatetimezone.html">IntlTimeZone::toDateTimeZone</a> — Convert to DateTimeZone object</li><li><a href="intltimezone.usedaylighttime.html">IntlTimeZone::useDaylightTime</a> — Check if this time zone uses daylight savings time</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="intlcalendar.todatetime.html">IntlCalendar::toDateTime</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="intltimezone.countequivalentids.html">IntlTimeZone::countEquivalentIDs</a></div>
 <div class="up"><a href="book.intl.html">intl</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>