Brian S O'Neill wrote: > The basic parser should fail. Without separators, parsed dates could be > ambiguous. > > 2001123: Is this 2001-01-23 or 2001-12-03 or is is 200-11-23?
IFAIK, ISO 8601 defines this, there is NO ambiguity. But what is good lenient behavior? I'd say only the middle choice, 2001123 is simply missing a 0 before the 3. Only the last field is allowed to be too short. FWIW you can't build any such format without separators with a SimpleDateFormat. -Paul ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Joda-interest mailing list Joda-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/joda-interest