public TimeBudget timeLeftAsTimeBudget() {
        Instant now = clock.instant();
        return new TimeBudget(clock, now, deadline().map(d -> Duration.between(now, d)));
    }
Returns the time left as a new TimeBudget.
vespajlib/src/main/java/com/yahoo/time/TimeBudget.java