phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc/class.datetime.inc.php, 1.5.2.12.2.10


From: nomail
Subject: [Phpgroupware-cvs] phpgwapi/inc/class.datetime.inc.php, 1.5.2.12.2.10
Date: Mon, 28 Jun 2004 09:08:09 +0200

Update of /phpgwapi/inc
Modified Files:
        Branch: Version-0_9_16-branch
          class.datetime.inc.php

date: 2004/06/28 07:08:09;  author: powerstat;  state: Exp;  lines: +17 -11

Log Message:
phpdoc update
=====================================================================
Index: phpgwapi/inc/class.datetime.inc.php
diff -u phpgwapi/inc/class.datetime.inc.php:1.5.2.12.2.9 
phpgwapi/inc/class.datetime.inc.php:1.5.2.12.2.10
--- phpgwapi/inc/class.datetime.inc.php:1.5.2.12.2.9    Mon May 10 08:03:30 2004
+++ phpgwapi/inc/class.datetime.inc.php Mon Jun 28 07:08:09 2004
@@ -425,12 +425,18 @@
                        return($julian);
                }
 
-               /*!
-               @function days_between
-               @abstract Get the number of days between two dates
-               @author Steven Cramer/Ralf Becker
-               @param $m1 - Month_1, $d1 - Day_1, $y1 - Year_1, $m2 - Month_2, 
$d2 - Day_2, $y2 - Year_2
-               @note the last param == 0, ensures that the calculation is 
always done without daylight-saveing
+               /**
+               * Get the number of days between two dates
+               *
+               * @author Steven Cramer/Ralf Becker
+               * @param $m1 - Month of first date
+               * @param $d1 - Day of first date
+               * @param $y1 - Year of first date
+               * @param $m2 - Month of second date
+               * @param $d2 - Day of second date
+               * @param $y2 - Year of second date
+               * @return integer Date 2 minus Date 1 in days
+               * @internal the last param == 0, ensures that the calculation 
is always done without daylight-saveing
                */
                function days_between($m1,$d1,$y1,$m2,$d2,$y2)
                {
@@ -506,10 +512,10 @@
                /**
                 * Convert a date from one format to another
                 * 
-                * @param string date          date in source format 
representation
-                * @param string formatSource  format of the passed date
-                * @param string formatTarget  target date format
-                * @return string date in target format representation
+                * @param string $date Date in source format representation
+                * @param string $formatSource Format of the passed date
+                * @param string $formatTarget Target date format
+                * @return string Date in target format representation
                 */
                function convertDate($date, $formatSource, $formatTarget)
                {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]