Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow checking whether Duration is zero length #27

Commits on Jul 4, 2023

  1. Allow checking whether Duration is zero length

    This introduces new API method for checking whether duration is empty.
    The tempting terse alternative of `duration.toMillis() == 0` does not
    work correctly for sub-milli duration, so it's better to provide a
    shortcut that's correct.
    findepi committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    8cb2838 View commit details
    Browse the repository at this point in the history