Does anyone know if its OK to use SimpleDateFormat in this project? The documentation for constructors in this class says "This constructor may not support all locales. For full coverage, use the factory methods in the DateFormat class." Is this not portable enough?
I just handled the dates as Strings, so no conversions or formatting (because you don't need it to find and book rooms). But a SimpleDateFormat will do the job. Although if I'm not mistaken it generates a valid date, also when you have a String that doesn't exactly match the pattern. More info can be found here.