hholzgra Tue Mar 11 12:43:58 2003 EDT
Modified files:
/phpdoc/en/reference/calendar/functions cal-from-jd.xml
cal-to-jd.xml cal-info.xml
Log:
no longer undocumented
Index: phpdoc/en/reference/calendar/functions/cal-from-jd.xml
diff -u phpdoc/en/reference/calendar/functions/cal-from-jd.xml:1.3
phpdoc/en/reference/calendar/functions/cal-from-jd.xml:1.4
--- phpdoc/en/reference/calendar/functions/cal-from-jd.xml:1.3 Wed Nov 6 18:14:58
2002
+++ phpdoc/en/reference/calendar/functions/cal-from-jd.xml Tue Mar 11 12:43:56
2003
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.19 -->
<refentry id='function.cal-from-jd'>
<refnamediv>
<refname>cal_from_jd</refname>
- <refpurpose>Converts from Julian Day Count to a supported calendar and return
extended information</refpurpose>
+ <refpurpose>Converts from Julian Day Count to a supported calendar</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@@ -14,7 +14,17 @@
<methodparam><type>int</type><parameter>calendar</parameter></methodparam>
</methodsynopsis>
<para>
- &warn.undocumented.func;
+ <function>cal_from_jd</function> converts the julian day given in
+ <parameter>jd</parameter> into a date of the specified
+ <parameter>calendar</parameter>. Supported
+ <parameter>calendar</parameter> values are
+ <constant>CAL_GREGORIAN</constant>,
+ <constant>CAL_JULIAN</constant>,
+ <constant>CAL_JEWISH</constant> and
+ <constant>CAL_FRENCH</constant>.
+ </para>
+ <para>
+ See also <function>cal_to_jd</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/calendar/functions/cal-to-jd.xml
diff -u phpdoc/en/reference/calendar/functions/cal-to-jd.xml:1.3
phpdoc/en/reference/calendar/functions/cal-to-jd.xml:1.4
--- phpdoc/en/reference/calendar/functions/cal-to-jd.xml:1.3 Wed Nov 6 18:14:58
2002
+++ phpdoc/en/reference/calendar/functions/cal-to-jd.xml Tue Mar 11 12:43:57
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.19 -->
<refentry id='function.cal-to-jd'>
<refnamediv>
@@ -16,7 +16,16 @@
<methodparam><type>int</type><parameter>year</parameter></methodparam>
</methodsynopsis>
<para>
- &warn.undocumented.func;
+ <function>cal_to_jd</function> calculates the julian day count
+ for a date in the specified <parameter>calendar</parameter>.
+ Supported <parameter>calendar</parameter>s are
+ <constant>CAL_GREGORIAN</constant>,
+ <constant>CAL_JULIAN</constant>,
+ <constant>CAL_JEWISH</constant> and
+ <constant>CAL_FRENCH</constant>.
+ </para>
+ <para>
+ See also <function>cal_to_jd</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/calendar/functions/cal-info.xml
diff -u phpdoc/en/reference/calendar/functions/cal-info.xml:1.3
phpdoc/en/reference/calendar/functions/cal-info.xml:1.4
--- phpdoc/en/reference/calendar/functions/cal-info.xml:1.3 Wed Nov 6 18:14:58
2002
+++ phpdoc/en/reference/calendar/functions/cal-info.xml Tue Mar 11 12:43:57 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.19 -->
<refentry id='function.cal-info'>
<refnamediv>
@@ -10,10 +10,23 @@
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>cal_info</methodname>
- <methodparam><type>int</type><parameter>calendar</parameter></methodparam>
+ <methodparam
choice='opt'><type>int</type><parameter>calendar</parameter></methodparam>
</methodsynopsis>
<para>
- &warn.undocumented.func;
+ <function>cal_info</function> returns information on the
+ specified <function>calendar</function> or on all supported
+ calendars if no <parameter>calendar</parameter> is specified.
+ </para>
+ <para>
+ Calendar information is returned as an array containing the
+ elements <literal>calname</literal>, <literal>calsymbol</literal>,
+ <literal>month</literal>, <literal>abbrevmonth</literal> and
+ <literal>maxdaysinmonth</literal>.
+ </para>
+ <para>
+ If no <parameter>calendar</parameter> is specified information on all
+ supported calendars is returned as an array. This functionality
+ will be available beginning with PHP 5.
</para>
</refsect1>
</refentry>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php