On 6/15/21 10:15 AM, dfranken@gmail.com wrote:
Dear readers,
I think java.time.Duration is a pretty useful class and after having to
work a lot with it, I recognized there might be some enhancements we
could make (where 'enhancement' is a subjective term of course).
For instance:
On Tue, 15 Jun 2021 at 15:16, wrote:
> Comparison
> --
> boolean isGreaterThan(Duration duration) / isLongerThan(..)
> boolean isSmallerThan(Duration duration) / isShorterThan(..)
>
> English is not my primary language so I don't know which of these
> aliases would be better. Given
Dear readers,
I think java.time.Duration is a pretty useful class and after having to
work a lot with it, I recognized there might be some enhancements we
could make (where 'enhancement' is a subjective term of course).
For instance:
Comparison
--
boolean isGreaterThan(Duration