I have a component that should be able to parse and process any xml file given by a user. The xml file can contain Timestamp values like "12 March 2012 05:00 pm". So the user has to give the Timestamp pattern that is acceptable to SimpleDataFormat. We use the pattern and the SimpleDateFormat to parse the Timestamp values like this: I have a component that should be able to parse