reference/intl/intlcalendar/fromdatetime.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.fromdatetime" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>IntlCalendar::fromDateTime</refname>
...
...
@@ -12,16 +11,18 @@
12
11
<para>
13
12
&style.oop;
14
13
</para>
15
-
<methodsynopsis>
16
-
<modifier>public</modifier> <modifier>static</modifier> <type>IntlCalendar</type><methodname>IntlCalendar::fromDateTime</methodname>
17
-
<methodparam><type>mixed</type><parameter>dateTime</parameter></methodparam>
14
+
<methodsynopsis role="IntlCalendar">
15
+
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>IntlCalendar</type><type>null</type></type><methodname>IntlCalendar::fromDateTime</methodname>
16
+
<methodparam><type class="union"><type>DateTime</type><type>string</type></type><parameter>datetime</parameter></methodparam>
17
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>locale</parameter><initializer>&null;</initializer></methodparam>
18
18
</methodsynopsis>
19
19
<para>
20
20
&style.procedural;
21
21
</para>
22
22
<methodsynopsis>
23
-
<type>IntlCalendar</type><methodname>intlcal_from_date_time</methodname>
24
-
<methodparam><type>mixed</type><parameter>dateTime</parameter></methodparam>
23
+
<type class="union"><type>IntlCalendar</type><type>null</type></type><methodname>intlcal_from_date_time</methodname>
24
+
<methodparam><type class="union"><type>DateTime</type><type>string</type></type><parameter>datetime</parameter></methodparam>
25
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>locale</parameter><initializer>&null;</initializer></methodparam>
25
26
</methodsynopsis>
26
27
<para>
27
28
Creates an <classname>IntlCalendar</classname> object either from a
...
...
@@ -41,7 +42,7 @@
41
42
&reftitle.parameters;
42
43
<variablelist>
43
44
<varlistentry>
44
-
<term><parameter>dateTime</parameter></term>
45
+
<term><parameter>datetime</parameter></term>
45
46
<listitem>
46
47
<para>
47
48
A <classname>DateTime</classname> object or a <type>string</type> that
...
...
@@ -91,7 +92,6 @@ echo IntlDateFormatter::formatObject($cal1, 'yyyy MMMM d HH:mm:ss VVVV', 'de_DE'
91
92
</refsect1>
92
93

93
94
</refentry>
94
-

95
95
<!-- Keep this comment at the end of the file
96
96
Local variables:
97
97
mode: sgml
98
98