reference/intl/dateformatter/set-calendar.xml
1976eae0d815797af97a1e16c5cd90ffc2868395
...
...
@@ -11,17 +11,17 @@
11
11
<para>
12
12
&style.oop;
13
13
</para>
14
-
<methodsynopsis>
15
-
<type>bool</type><methodname>IntlDateFormatter::setCalendar</methodname>
16
-
<methodparam><type>mixed</type><parameter>which</parameter></methodparam>
17
-
</methodsynopsis>
14
+
<methodsynopsis role="IntlDateFormatter">
15
+
<modifier>public</modifier> <type>bool</type><methodname>IntlDateFormatter::setCalendar</methodname>
16
+
<methodparam><type class="union"><type>IntlCalendar</type><type>int</type><type>null</type></type><parameter>calendar</parameter></methodparam>
17
+
</methodsynopsis>
18
18
<para>
19
19
&style.procedural;
20
20
</para>
21
21
<methodsynopsis>
22
22
<type>bool</type><methodname>datefmt_set_calendar</methodname>
23
-
<methodparam><type>IntlDateFormatter</type><parameter>fmt</parameter></methodparam>
24
-
<methodparam><type>mixed</type><parameter>which</parameter></methodparam>
23
+
<methodparam><type>IntlDateFormatter</type><parameter>formatter</parameter></methodparam>
24
+
<methodparam><type class="union"><type>IntlCalendar</type><type>int</type><type>null</type></type><parameter>calendar</parameter></methodparam>
25
25
</methodsynopsis>
26
26
<para>
27
27
Sets the calendar or calendar type used by the formatter.
...
...
@@ -33,7 +33,7 @@
33
33
<para>
34
34
<variablelist>
35
35
<varlistentry>
36
-
<term><parameter>fmt</parameter></term>
36
+
<term><parameter>formatter</parameter></term>
37
37
<listitem>
38
38
<para>
39
39
The formatter resource.
...
...
@@ -41,7 +41,7 @@
41
41
</listitem>
42
42
</varlistentry>
43
43
<varlistentry>
44
-
<term><parameter>which</parameter></term>
44
+
<term><parameter>calendar</parameter></term>
45
45
<listitem>
46
46
<para>
47
47
This can either be: the <link
...
...
@@ -187,7 +187,6 @@ after: Saturday, Rabiʻ II 20, 1434 at 7:00:00 PM Eastern Standard Time
187
187
</para>
188
188
</refsect1>
189
189
</refentry>
190
-

191
190
<!-- Keep this comment at the end of the file
192
191
Local variables:
193
192
mode: sgml
194
193