default long remainingTime(TimeUnit unit) {
        return Math.max(0L, unit.convert(remainingMillis(), TimeUnit.MILLISECONDS));
    }
Gets the time until the cooldown will become inactive.

<p>If the cooldown is not active, this method returns <code>0</code>.</p>

@param unit the unit to return in
@return the time until the cooldown will expire
helper/src/main/java/me/lucko/helper/cooldown/Cooldown.java