|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <!-- $Revision$ -->
|
3 |
| - |
4 | 3 | <refentry xml:id="intlcalendar.createinstance" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
5 | 4 | <refnamediv>
|
6 | 5 | <refname>IntlCalendar::createInstance</refname>
|
|
12 | 11 | <para>
|
13 | 12 | &style.oop;
|
14 | 13 | </para>
|
15 |
| - <methodsynopsis> |
16 |
| - <modifier>public</modifier> <modifier>static</modifier> <type>IntlCalendar</type><methodname>IntlCalendar::createInstance</methodname> |
17 |
| - <methodparam choice="opt"><type>mixed</type><parameter>timeZone</parameter><initializer>NULL</initializer></methodparam> |
18 |
| - <methodparam choice="opt"><type>string</type><parameter>locale</parameter><initializer>""</initializer></methodparam> |
| 14 | + <methodsynopsis role="oop"> |
| 15 | + <modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>IntlCalendar</type><type>null</type></type><methodname>IntlCalendar::createInstance</methodname> |
| 16 | + <methodparam choice="opt"><type class="union"><type>IntlTimeZone</type><type>DateTimeZone</type><type>string</type><type>null</type></type><parameter>timezone</parameter><initializer>&null;</initializer></methodparam> |
| 17 | + <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>locale</parameter><initializer>&null;</initializer></methodparam> |
19 | 18 | </methodsynopsis>
|
20 | 19 | <para>
|
21 | 20 | &style.procedural;
|
22 | 21 | </para>
|
23 | 22 | <methodsynopsis role="procedural">
|
24 |
| - <type>IntlCalendar</type><methodname>intlcal_create_instance</methodname> |
25 |
| - <methodparam choice="opt"><type>mixed</type><parameter>timeZone</parameter><initializer>NULL</initializer></methodparam> |
26 |
| - <methodparam choice="opt"><type>string</type><parameter>locale</parameter><initializer>""</initializer></methodparam> |
| 23 | + <type class="union"><type>IntlCalendar</type><type>null</type></type><methodname>intlcal_create_instance</methodname> |
| 24 | + <methodparam choice="opt"><type class="union"><type>IntlTimeZone</type><type>DateTimeZone</type><type>string</type><type>null</type></type><parameter>timezone</parameter><initializer>&null;</initializer></methodparam> |
| 25 | + <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>locale</parameter><initializer>&null;</initializer></methodparam> |
27 | 26 | </methodsynopsis>
|
28 | 27 | <para>
|
29 | 28 | Given a timezone and locale, this method creates an
|
|
42 | 41 | &reftitle.parameters;
|
43 | 42 | <variablelist>
|
44 | 43 | <varlistentry>
|
45 |
| - <term><parameter>timeZone</parameter></term> |
| 44 | + <term><parameter>timezone</parameter></term> |
46 | 45 | <listitem>
|
47 | 46 | <para>
|
48 | 47 | The timezone to use.
|
|
54 | 53 | <term><parameter>locale</parameter></term>
|
55 | 54 | <listitem>
|
56 | 55 | <para>
|
57 |
| - A locale to use or &null; to use <link |
58 |
| - linkend="ini.intl.default-locale">the default locale</link>. |
| 56 | + A locale to use or &null; to use <link linkend="ini.intl.default-locale">the default locale</link>. |
59 | 57 | </para>
|
60 | 58 | </listitem>
|
61 | 59 | </varlistentry>
|
@@ -131,7 +129,6 @@ string(70) "martes 28 de Khordad de 1392 14:11:02 Hora de verano de Europa Centr
|
131 | 129 | </refsect1>
|
132 | 130 |
|
133 | 131 | </refentry>
|
134 |
| - |
135 | 132 | <!-- Keep this comment at the end of the file
|
136 | 133 | Local variables:
|
137 | 134 | mode: sgml
|
|
0 commit comments