Valid days inference, plus various bout functions