jimw Tue Dec 18 15:33:59 2001 EDT
Modified files:
/phpdoc/en/functions calendar.xml
Log:
various: misc. cleanups; jdmonthname: list possible return values
Index: phpdoc/en/functions/calendar.xml
diff -u phpdoc/en/functions/calendar.xml:1.19 phpdoc/en/functions/calendar.xml:1.20
--- phpdoc/en/functions/calendar.xml:1.19 Sat Dec 15 09:28:51 2001
+++ phpdoc/en/functions/calendar.xml Tue Dec 18 15:33:59 2001
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.19 $ -->
+<!-- $Revision: 1.20 $ -->
<reference id="ref.calendar">
<title>Calendar functions</title>
<titleabbrev>Calendar</titleabbrev>
@@ -66,7 +66,7 @@
<para>
Valid Range for Gregorian Calendar 4714 B.C. to 9999 A.D.</para>
<para>
- Although this software can handle dates all the way back to 4714
+ Although this function can handle dates all the way back to 4714
B.C., such use may not be meaningful. The Gregorian calendar was
not instituted until October 15, 1582 (or October 5, 1582 in the
Julian calendar). Some countries did not accept it until much
@@ -133,7 +133,7 @@
Valid Range for Julian Calendar 4713 B.C. to 9999 A.D.
</para>
<para>
- Although this software can handle dates all the way back to 4713
+ Although this function can handle dates all the way back to 4713
B.C., such use may not be meaningful. The calendar was created in
46 B.C., but the details did not stabilize until at least 8 A.D.,
and perhaps as late at the 4th century. Also, the beginning of a
@@ -182,14 +182,11 @@
</funcprototype>
</funcsynopsis>
<para>
- Valid Range Although this software can handle dates all the way
- back to the year 1 (3761 B.C.), such use may not be meaningful.
- </para>
- <para>
- The Jewish calendar has been in use for several thousand years,
- but in the early days there was no formula to determine the start
- of a month. A new month was started when the new moon was first
- observed.
+ Although this function can handle dates all the way back to the year 1
+ (3761 B.C.), such use may not be meaningful. The Jewish calendar has
+ been in use for several thousand years, but in the early days there was
+ no formula to determine the start of a month. A new month was started
+ when the new moon was first observed.
</para>
</refsect1>
</refentry>
@@ -267,37 +264,44 @@
to be returned.
<table>
<title>Calendar modes</title>
- <tgroup cols="2">
+ <tgroup cols="3">
<thead>
<row>
<entry>Mode</entry>
<entry>Meaning</entry>
+ <entry>Values</entry>
</row>
</thead>
<tbody>
<row>
<entry>0</entry>
<entry>Gregorian - abbreviated</entry>
+ <entry>Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec</entry>
</row>
<row>
<entry>1</entry>
<entry>Gregorian</entry>
+ <entry>January, February, March, April, May, June, July, August, September,
+October, November, December</entry>
</row>
<row>
<entry>2</entry>
<entry>Julian - abbreviated</entry>
+ <entry>Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec</entry>
</row>
<row>
<entry>3</entry>
<entry>Julian</entry>
+ <entry>January, February, March, April, May, June, July, August, September,
+October, November, December</entry>
</row>
<row>
<entry>4</entry>
<entry>Jewish</entry>
+ <entry>Tishri, Heshvan, Kislev, Tevet, Shevat, AdarI, AdarII, Nisan, Iyyar,
+Sivan, Tammuz, Av, Elul</entry>
</row>
<row>
<entry>5</entry>
<entry>French Republican</entry>
+ <entry>Vendemiaire, Brumaire, Frimaire, Nivose, Pluviose, Ventose, Germinal,
+Floreal, Prairial, Messidor, Thermidor, Fructidor, Extra</entry>
</row>
</tbody>
</tgroup>
@@ -321,7 +325,7 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns the day of the week. Can return a string or an int
+ Returns the day of the week. Can return a string or an integer
depending on the mode.
<table>
<title>Calendar week modes</title>
@@ -506,11 +510,6 @@
<para>
See also <function>jdtounix</function>.
</para>
- <note>
- <para>
- This function is only available in PHP versions after PHP 4RC1.
- </para>
- </note>
</refsect1>
</refentry>
@@ -537,11 +536,6 @@
<para>
See also <function>jdtounix</function>.
</para>
- <note>
- <para>
- This function is only available in PHP versions after PHP 4RC1.
- </para>
- </note>
</refsect1>
</refentry>
@@ -568,11 +562,6 @@
<para>
See also <function>jdtounix</function>.
</para>
- <note>
- <para>
- This function is only available in PHP versions after PHP 4RC1.
- </para>
- </note>
</refsect1>
</refentry>