Can I disable next-day shipping on specific days of the week?

My client would like to disable next-day shipping on Thursdays and Fridays.

Is there a way to disable next-day shipping on specific days of the week?