You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by gg...@apache.org on 2005/10/28 21:49:50 UTC

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

Author: ggregory
Date: Fri Oct 28 12:49:47 2005
New Revision: 329277

URL: http://svn.apache.org/viewcvs?rev=329277&view=rev
Log:
Minor Javadoc (style.)

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?rev=329277&r1=329276&r2=329277&view=diff
==============================================================================
--- 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 Fri Oct 28 12:49:47 2005
@@ -67,7 +67,7 @@
 
     //-----------------------------------------------------------------------
     /**
-     * <p>Get the time gap as a string.</p>
+     * <p>Formats the time gap as a string.</p>
      * 
      * <p>The format used is ISO8601-like:
      * <i>H</i>:<i>m</i>:<i>s</i>.<i>S</i>.</p>
@@ -80,7 +80,7 @@
     }
 
     /**
-     * <p>Get the time gap as a string.</p>
+     * <p>Formats the time gap as a string.</p>
      * 
      * <p>The format used is the ISO8601 period format.</p>
      * 
@@ -95,7 +95,7 @@
     }
 
     /**
-     * <p>Get the time gap as a string, using the specified format, and padding with zeros and 
+     * <p>Formats the time gap as a string, using the specified format, and padding with zeros and 
      * using the default timezone.</p>
      * 
      * <p>This method formats durations using the days and lower fields of the
@@ -110,7 +110,7 @@
     }
 
     /**
-     * <p>Get the time gap as a string, using the specified format.
+     * <p>Formats the time gap as a string, using the specified format.
      * Padding the left hand side of numbers with zeroes is optional and 
      * the timezone may be specified.</p>
      * 
@@ -156,7 +156,7 @@
     }
 
     /**
-     * <p>Format an elapsed time into a plurialization correct string.</p>
+     * <p>Formats an elapsed time into a plurialization correct string.</p>
      * 
      * <p>This method formats durations using the days and lower fields of the
      * format pattern. Months and larger are not used.</p>
@@ -220,7 +220,7 @@
 
     //-----------------------------------------------------------------------
     /**
-     * <p>Get the time gap as a string.</p>
+     * <p>Formats the time gap as a string.</p>
      * 
      * <p>The format used is the ISO8601 period format.</p>
      * 
@@ -233,7 +233,7 @@
     }
 
     /**
-     * <p>Get the time gap as a string, using the specified format.
+     * <p>Formats the time gap as a string, using the specified format.
      * Padding the left hand side of numbers with zeroes is optional.
      * 
      * @param startMillis  the start of the duration
@@ -246,7 +246,7 @@
     }
 
     /**
-     * <p>Get the time gap as a string, using the specified format.
+     * <p>Formats the time gap as a string, using the specified format.
      * Padding the left hand side of numbers with zeroes is optional and 
      * the timezone may be specified. 
      * 
@@ -456,7 +456,7 @@
     static final Object S = "S";
     
     /**
-     * Parse a classic date format string into Tokens
+     * Parses a classic date format string into Tokens
      *
      * @param format to parse
      * @return Token[] of tokens
@@ -543,7 +543,7 @@
         private int count;
 
         /**
-         * Wrap a token around a value. A value would be something like a 'Y'.
+         * Wraps a token around a value. A value would be something like a 'Y'.
          *
          * @param value to wrap
          */
@@ -553,7 +553,7 @@
         }
 
         /**
-         * Wrap a token around a repeated number of a value, for example it would 
+         * Wraps a token around a repeated number of a value, for example it would 
          * store 'yyyy' as a value for y and a count of 4.
          *
          * @param value to wrap
@@ -565,14 +565,14 @@
         }
 
         /**
-         * Add another one of the value
+         * Adds another one of the value
          */
         void increment() { 
             count++;
         }
 
         /**
-         * Get the current number of values represented
+         * Gets the current number of values represented
          *
          * @return int number of values represented
          */
@@ -581,7 +581,7 @@
         }
 
         /**
-         * Get the particular value this token represents.
+         * Gets the particular value this token represents.
          * 
          * @return Object value
          */
@@ -617,7 +617,7 @@
         }
 
         /**
-         * Represent this token as a String.
+         * Represents this token as a String.
          *
          * @return String representation of the token
          */



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