Strict hours and days format.

Avoid 29h, 00d or 36d for example.