reference/datetime/datetimezone/getname.xml
02ff7fef5b34cf8f5395180d9d39fb64d9398d00
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="datetimezone.getname" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>DateTimeZone::getName</refname>
...
...
@@ -11,12 +10,12 @@
11
10
<refsect1 role="description">
12
11
&reftitle.description;
13
12
<para>&style.oop;</para>
14
-
<methodsynopsis role="oop">
13
+
<methodsynopsis role="DateTimeZone">
15
14
<modifier>public</modifier> <type>string</type><methodname>DateTimeZone::getName</methodname>
16
-
<void />
15
+
<void/>
17
16
</methodsynopsis>
18
17
<para>&style.procedural;</para>
19
-
<methodsynopsis role="procedural">
18
+
<methodsynopsis>
20
19
<type>string</type><methodname>timezone_name_get</methodname>
21
20
<methodparam><type>DateTimeZone</type><parameter>object</parameter></methodparam>
22
21
</methodsynopsis>
...
...
@@ -42,13 +41,17 @@
42
41
<refsect1 role="returnvalues">
43
42
&reftitle.returnvalues;
44
43
<para>
45
-
One of the timezone names in the
46
-
<link linkend="timezones">list of timezones</link>.
44
+
Depending on zone type, UTC offset (type 1), timezone abbreviation (type
45
+
2), and timezone identifiers as published in the IANA timezone database
46
+
(type 3), the descriptor string to create a new
47
+
<classname>DateTimeZone</classname> object with the same offset and/or
48
+
rules. For example <literal>02:00</literal>, <literal>CEST</literal>, or
49
+
one of the timezone names in the <link linkend="timezones">list of
50
+
timezones</link>.
47
51
</para>
48
52
</refsect1>
49
53

50
54
</refentry>
51
-

52
55
<!-- Keep this comment at the end of the file
53
56
Local variables:
54
57
mode: sgml
55
58