This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Pat Farrell wrote:Parsing dates is such a fundamental concept, I would have expected it to be standard in either Java itself or JEE.
And it is--within reason. Dealing with human-generated values is a non-trivial problem, and IMO it's nonsensical to expect a standard library to be able to handle all possible inputs, considering the sheer number of ways it could be entered. It's trivially easy to wrap up trying a bunch of different formats, and the Apache Commons DateUtils class has already it for us: