I guess that is possible, but it seems like a rare use case to me! Stephen 2011/5/4 Matthias Müller <matthias_muel...@tu-dresden.de>: > It's not possible in every case, but at least for ISO timestamps. > (DateTime dt = new DateTime("2004-12-13");) > > I was thinking of something like DateTimeFormat.forISODate(String > isoDateTimeString) - as a third factory method beside those for pattern > and style. > > Matthias > > Am 04.05.2011 15:02, schrieb Stephen Colebourne: >> 2011/5/4 Matthias Müller<matthias_muel...@tu-dresden.de>: >>> thanks for the answer - I already have some code to accomplish the task >>> (however, it's not very generic - basically counting dashes an colons). >>> Maybe it is easy to incoporate this useful feature in future jodatime >>> releases - the parsers for ISO DateTime String might already contain the >>> required logic. >> >> The reality it that it is impossible to determine. Some countries do >> YMD, some DMY and some MDY. for a date of 01/01/01, its impossible to >> tell what it means. >> >> Stephen >> >> ------------------------------------------------------------------------------ >> WhatsUp Gold - Download Free Network Management Software >> The most intuitive, comprehensive, and cost-effective network >> management toolset available today. Delivers lowest initial >> acquisition cost and overall TCO of any competing solution. >> http://p.sf.net/sfu/whatsupgold-sd >> _______________________________________________ >> Joda-interest mailing list >> Joda-interest@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/joda-interest >> > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Joda-interest mailing list > Joda-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/joda-interest >
------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Joda-interest mailing list Joda-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/joda-interest