posted 18 years ago
Tai,
first of all, the database is an example database - as Sun says. So it is quite logical that the dates are "out of date".
Then, about the rule: I choose to ignore it. Indeed, I've seen people pass with 100% score ignoring it. As long as you motivate it in choices.txt.
My motivation is that this is typically a business rule which is likely to be subject to changes in future. EarlyBird might for example decided to make it 72 hours. So it should be flexible, for a usefull aplication, and not hard coded. Then we have too choices: or make it an updatable setting, or ignore it.
As the assignments is not saying anything about application settings which can be changed by the endusers or system administrators, the best thing is to ignore it. Presumably, the operators using the application are wise enough to apply this rule without much effort, if it is not implemented in the software.
The only thing which you could do extra, if you don't feel safe about this, is to just generate a warning dialog if the user books earlier, but for the rest do nothing with the warning, and just allow the booking if the enduser wants to continue.
_ _ ________________________ _ _ <br /> <br />Just SCJP (but 93%)