php-doc-en/reference/intl/inctimezoneparam.xml

33 lines
1.1 KiB
XML
Raw Normal View History

<?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>