Duration isPositive missing?
stevenschlansker at gmail.com
Fri Dec 16 17:54:32 UTC 2016
My coworker and I were just puzzling over the seemingly trivially missing
There are already "isNegative" and "isZero" -- but for isPositive the best
we came up with were awful things like
!isZero() && !isNegative()
.compareTo(Duration.ZERO) > 0
but all of these feel way worse than a simple isPositive method.
Can you shed some light as to why this is missing?
More information about the core-libs-dev