reference/intl/intlcalendar/settimezone.xml
1976eae0d815797af97a1e16c5cd90ffc2868395
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="intlcalendar.settimezone" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>IntlCalendar::setTimeZone</refname>
...
...
@@ -12,17 +11,17 @@
12
11
<para>
13
12
&style.oop;
14
13
</para>
15
-
<methodsynopsis>
14
+
<methodsynopsis role="IntlCalendar">
16
15
<modifier>public</modifier> <type>bool</type><methodname>IntlCalendar::setTimeZone</methodname>
17
-
<methodparam><type>mixed</type><parameter>timeZone</parameter></methodparam>
16
+
<methodparam><type class="union"><type>IntlTimeZone</type><type>DateTimeZone</type><type>string</type><type>null</type></type><parameter>timezone</parameter></methodparam>
18
17
</methodsynopsis>
19
18
<para>
20
19
&style.procedural;
21
20
</para>
22
21
<methodsynopsis>
23
22
<type>bool</type><methodname>intlcal_set_time_zone</methodname>
24
-
<methodparam><type>IntlCalendar</type><parameter>cal</parameter></methodparam>
25
-
<methodparam><type>mixed</type><parameter>timeZone</parameter></methodparam>
23
+
<methodparam><type>IntlCalendar</type><parameter>calendar</parameter></methodparam>
24
+
<methodparam><type class="union"><type>IntlTimeZone</type><type>DateTimeZone</type><type>string</type><type>null</type></type><parameter>timezone</parameter></methodparam>
26
25
</methodsynopsis>
27
26
<para>
28
27
Defines a new timezone for this calendar. The time represented by the
...
...
@@ -34,15 +33,13 @@
34
33
&reftitle.parameters;
35
34
<variablelist>
36
35
<varlistentry>
37
-
<term><parameter>cal</parameter></term>
36
+
<term><parameter>calendar</parameter></term>
38
37
<listitem>
39
-
<para>
40
-
The IntlCalendar resource.
41
-
</para>
38
+
&intl.parameter.intl-calendar;
42
39
</listitem>
43
40
</varlistentry>
44
41
<varlistentry>
45
-
<term><parameter>timeZone</parameter></term>
42
+
<term><parameter>timezone</parameter></term>
46
43
<listitem>
47
44
<para>
48
45
The new timezone to be used by this calendar. It can be specified in the
...
...
@@ -104,7 +101,6 @@ sábado, 1 de junio de 2013 14:33:00 GMT+03:33
104
101
</refsect1>
105
102

106
103
</refentry>
107
-

108
104
<!-- Keep this comment at the end of the file
109
105
Local variables:
110
106
mode: sgml
111
107