cpp/chrono/weekday/ok

Checks if the weekday value stored in is in the valid range, i.e., [0, 6].

Return value
if the weekday value stored in is in the range [0, 6]. Otherwise.