Added validation for time scales.