You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ba...@apache.org on 2005/02/04 04:22:24 UTC

svn commit: r151310 - jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DurationFormatUtils.java

Author: bayard
Date: Thu Feb  3 19:22:22 2005
New Revision: 151310

URL: http://svn.apache.org/viewcvs?view=rev&rev=151310
Log:
javadoc fixing, as per checkstyle

Modified:
    jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DurationFormatUtils.java

Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DurationFormatUtils.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DurationFormatUtils.java?view=diff&r1=151309&r2=151310
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DurationFormatUtils.java (original)
+++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DurationFormatUtils.java Thu Feb  3 19:22:22 2005
@@ -42,7 +42,7 @@
  * @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
  * @author Henri Yandell
  * @since 2.1
- * @version $Id: DurationFormatUtils.java,v 1.21 2004/10/15 23:11:31 scolebourne Exp $
+ * @version $Id$
  */
 public class DurationFormatUtils {
 
@@ -224,7 +224,8 @@
      * 
      * <p>The format used is the ISO8601 period format.</p>
      * 
-     * @param millis  the duration to format
+     * @param startMillis  the start of the duration to format
+     * @param endMillis  the end of the duration to format
      * @return the time as a String
      */
     public static String formatPeriodISO(long startMillis, long endMillis) {
@@ -417,6 +418,12 @@
     /**
      * Reduces by difference, then if it overshot, calculates the overshot amount and 
      * fixes and returns the amount to change by.
+     *
+     * @param start Start of period being formatted
+     * @param end End of period being formatted
+     * @param field Field to reduce, as per constants in {@link java.util.Calendar}
+     * @param difference amount to reduce by
+     * @return int reduced value
      */
     static int reduceAndCorrect(Calendar start, Calendar end, int field, int difference) {
         end.add( field, -1 * difference );



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org