Is there a way to restrict times to a specific range?