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

4
3
<refentry xml:id="dateperiod.getenddate" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>DatePeriod::getEndDate</refname>
...
...
@@ -12,9 +11,9 @@
12
11
<refsect1 role="description">
13
12
&reftitle.description;
14
13
<para>&style.oop;</para>
15
-
<methodsynopsis role="oop">
16
-
<modifier>public</modifier> <type>DateTimeInterface</type><methodname>DatePeriod::getEndDate</methodname>
17
-
<void />
14
+
<methodsynopsis role="DatePeriod">
15
+
<modifier>public</modifier> <type class="union"><type>DateTimeInterface</type><type>null</type></type><methodname>DatePeriod::getEndDate</methodname>
16
+
<void/>
18
17
</methodsynopsis>
19
18
<para>
20
19
Gets the end date of the period.
...
...
@@ -42,8 +41,8 @@
42
41
as the <parameter>end</parameter> parameter.
43
42
</para>
44
43
<para>
45
-
Returns a <classname>DateTime</classname> <type>object</type>
46
-
otherwise.
44
+
Returns a cloned <classname>DateTime</classname> <type>object</type>
45
+
representing the end date otherwise.
47
46
</para>
48
47
</refsect1>
49
48

...
...
@@ -103,7 +102,6 @@ NULL
103
102
</refsect1>
104
103

105
104
</refentry>
106
-

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