php-doc-en/reference/intl/inctimezoneparam.xml
Gustavo André dos Santos Lopes 9906c56365 Introduce include inctimezoneparam.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330585 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-21 00:47:12 +00:00

32 lines
1.1 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<itemizedlist xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<listitem>
<para>
&null;, in which case the default timezone will be used, as specified in
the ini setting <link linkend="ini.date.timezone">date.timezone</link> or
through the function <function>date_default_timezone_set</function> and as
returned by <function>date_default_timezone_get</function>.
</para>
</listitem>
<listitem>
<para>
An <classname>IntlTimeZone</classname>, which will be used directly.
</para>
</listitem>
<listitem>
<para>
A <classname>DateTimeZone</classname>. Its identifier will be extracted
and an ICU timezone object will be created; the timezone will be backed
by ICUʼs database, not PHPʼs.
</para>
</listitem>
<listitem>
<para>
A <type>string</type>, which should be a valid ICU timezone identifier.
See <function>IntlTimeZone::createTimeZoneIDEnumeration</function>. Raw
offsets such as <literal>"GMT+08:30"</literal> are also accepted.
</para>
</listitem>
</itemizedlist>