Hello! I've got the following code fragment:
DateTimeFormatter dateTimeFormatter = DateTimeFormat.forPattern("yyyy-MM-dd HH:mm:ss ZZZ"); String date = dateTimeFormatter.print(System.currentTimeMillis()); dateTimeFormatter.parseMillis(date); I don't understand why the last statement fails: Exception in thread "main" java.lang.IllegalArgumentException: Invalid format: "2009-09-07 10:56:49 Europe/Prague" is malformed at "Europe/Prague" When the "ZZZ" pattern is changed to "Z" or "ZZ", it works fine. Is there any way to get that running? Am I missing anything? I'm unable to find any answer to this issue. :-( Thanks in advance! Martin Janik ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Joda-interest mailing list Joda-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/joda-interest