1Write ends_at(start, limit, runtime, enforced): when a job really ends. Enforced, it stops at its limit if it hasn't finished, and otherwise it runs its whole runtime.
2Write delay(reservation, ends): how many minutes the reservation slips while it waits for the last backfilled job, or 0.