Asserts that the input is a valid day of the week index.
Optional
The input if the assertion succeeds.
AssertionError If the assertion fails.
AssertionError
Asserts that the input is a valid day of the week index.