File: inctimezoneparam.xml

package info (click to toggle)
php-doc 20241205~git.dfcbb86%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 70,956 kB
  • sloc: xml: 968,269; php: 23,883; javascript: 671; sh: 177; makefile: 37
file content (32 lines) | stat: -rw-r--r-- 1,117 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?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>