Refactoring reservation time validation