> I don't know what exactly this means, but if I use the code > that you provide me, this problems its gone. > > If I convert the localdates to localdatetime in utc, this > problems should dissapear?
Yes. The no-argument toDateTime() method uses the default time zone, which usually is a timezone that uses daylight saving time. Any timezone that uses daylight saving time has some date/time combinations that simply do not exist: they're during the period of time that daylight saving time omits. For instance, in the US Eastern timezone, March 14, 2010, 02:33:54 is a time that does not exist; in that timezone, local time skipped directly from March 14, 2010, 01:59:59 to March 14, 2010, 03:00:00. If you try to convert a LocalDateTime with that date/time combination to a DateTime in US Eastern, it throws an exception because there's no such thing. UTC doesn't have daylight saving time, so it doesn't run into that problem. - Adam ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Joda-interest mailing list Joda-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/joda-interest