reference/calendar/functions/cal-from-jd.xml
789af834328bf5d492ed174a4fedb226ccaf4b27
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xml:id='function.cal-from-jd' xmlns="http://docbook.org/ns/docbook">
3
+
<refentry xml:id="function.cal-from-jd" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>cal_from_jd</refname>
6
6
<refpurpose>Converts from Julian Day Count to a supported calendar</refpurpose>
...
...
@@ -10,12 +10,12 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>array</type><methodname>cal_from_jd</methodname>
13
-
<methodparam><type>int</type><parameter>jd</parameter></methodparam>
13
+
<methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
14
14
<methodparam><type>int</type><parameter>calendar</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
<function>cal_from_jd</function> converts the Julian day given in
18
-
<parameter>jd</parameter> into a date of the specified
18
+
<parameter>julian_day</parameter> into a date of the specified
19
19
<parameter>calendar</parameter>. Supported
20
20
<parameter>calendar</parameter> values are
21
21
<constant>CAL_GREGORIAN</constant>,
...
...
@@ -30,7 +30,7 @@
30
30
<para>
31
31
<variablelist>
32
32
<varlistentry>
33
-
<term><parameter>jd</parameter></term>
33
+
<term><parameter>julian_day</parameter></term>
34
34
<listitem>
35
35
<para>
36
36
Julian day as integer
...
...
@@ -53,8 +53,10 @@
53
53
&reftitle.returnvalues;
54
54
<para>
55
55
Returns an array containing calendar information like month, day, year,
56
-
day of week, abbreviated and full names of weekday and month and the
56
+
day of week (<literal>dow</literal>), abbreviated and full names of weekday and month and the
57
57
date in string form "month/day/year".
58
+
The day of week ranges from <literal>0</literal> (Sunday) to
59
+
<literal>6</literal> (Saturday).
58
60
</para>
59
61
</refsect1>
60
62

...
...
@@ -106,7 +108,6 @@ Array
106
108
</para>
107
109
</refsect1>
108
110
</refentry>
109
-

110
111
<!-- Keep this comment at the end of the file
111
112
Local variables:
112
113
mode: sgml
113
114