From 4b378cfca2b1213c88c4450c234af339b5645403 Mon Sep 17 00:00:00 2001 From: jim winstead Date: Tue, 18 Dec 2001 20:33:59 +0000 Subject: [PATCH] various: misc. cleanups; jdmonthname: list possible return values git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65621 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/calendar.xml | 45 ++++++++++++++++-------------------------- 1 file changed, 17 insertions(+), 28 deletions(-) diff --git a/functions/calendar.xml b/functions/calendar.xml index bc9d7bebed..ff9045e06a 100644 --- a/functions/calendar.xml +++ b/functions/calendar.xml @@ -1,5 +1,5 @@ - + Calendar functions Calendar @@ -66,7 +66,7 @@ Valid Range for Gregorian Calendar 4714 B.C. to 9999 A.D. - 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 @@ echo "$gregorian\n"; Valid Range for Julian Calendar 4713 B.C. to 9999 A.D. - 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 @@ echo "$gregorian\n"; - 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. - - - 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. @@ -267,37 +264,44 @@ echo "$gregorian\n"; to be returned. Calendar modes - + Mode Meaning + Values 0 Gregorian - abbreviated + Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec 1 Gregorian + January, February, March, April, May, June, July, August, September, October, November, December 2 Julian - abbreviated + Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec 3 Julian + January, February, March, April, May, June, July, August, September, October, November, December 4 Jewish + Tishri, Heshvan, Kislev, Tevet, Shevat, AdarI, AdarII, Nisan, Iyyar, Sivan, Tammuz, Av, Elul 5 French Republican + Vendemiaire, Brumaire, Frimaire, Nivose, Pluviose, Ventose, Germinal, Floreal, Prairial, Messidor, Thermidor, Fructidor, Extra @@ -321,7 +325,7 @@ echo "$gregorian\n"; - 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.
Calendar week modes @@ -506,11 +510,6 @@ echo easter_days (1913); /* 2, i.e. March 23 */ See also jdtounix. - - - This function is only available in PHP versions after PHP 4RC1. - - @@ -537,11 +536,6 @@ echo easter_days (1913); /* 2, i.e. March 23 */ See also jdtounix. - - - This function is only available in PHP versions after PHP 4RC1. - - @@ -568,11 +562,6 @@ echo easter_days (1913); /* 2, i.e. March 23 */ See also jdtounix. - - - This function is only available in PHP versions after PHP 4RC1. - -