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.
1 parent 24a4972 commit e7d0cd0Copy full SHA for e7d0cd0
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