Minor Javadoc (style.)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@329277 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
01d50f2e00
commit
d85ab0c576
|
@ -67,7 +67,7 @@ public class DurationFormatUtils {
|
|||
|
||||
//-----------------------------------------------------------------------
|
||||
/**
|
||||
* <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 @@ public class DurationFormatUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* <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 @@ public class DurationFormatUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* <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 @@ public class DurationFormatUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* <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 @@ public class DurationFormatUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* <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 @@ public class DurationFormatUtils {
|
|||
|
||||
//-----------------------------------------------------------------------
|
||||
/**
|
||||
* <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 @@ public class DurationFormatUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* <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 @@ public class DurationFormatUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* <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 @@ public class DurationFormatUtils {
|
|||
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 @@ public class DurationFormatUtils {
|
|||
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 @@ public class DurationFormatUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* 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 @@ public class DurationFormatUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* 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 @@ public class DurationFormatUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* Get the particular value this token represents.
|
||||
* Gets the particular value this token represents.
|
||||
*
|
||||
* @return Object value
|
||||
*/
|
||||
|
@ -617,7 +617,7 @@ public class DurationFormatUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* Represent this token as a String.
|
||||
* Represents this token as a String.
|
||||
*
|
||||
* @return String representation of the token
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue