We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 323f046 + bac2371 commit d7cdcc6Copy full SHA for d7cdcc6
src/main/java/org/apache/commons/lang3/time/DurationUtils.java
@@ -98,10 +98,10 @@ public static int getNanosOfMilli(final Duration duration) {
98
}
99
100
/**
101
- * Tests whether the given Duration is positive (>0).
+ * Tests whether the given Duration is positive (duration > 0).
102
*
103
* @param duration the value to test
104
- * @return whether the given Duration is positive (>0).
+ * @return whether the given Duration is positive (duration > 0).
105
*/
106
public static boolean isPositive(final Duration duration) {
107
return !duration.isNegative() && !duration.isZero();
0 commit comments