cpp/chrono/day/ok

Checks if the day value stored in is in the valid range, i.e., [1, 31].

Return value
if the day value stored in is in the range [1, 31]. Otherwise.