This snippet of code always parses the date into the current timezone, and not into the timezone in the string being parsed.
final DateTimeFormatter df
OK, further Googling gave me the answer to my own question: use withOffsetParsed(), as so:
final DateTimeFormatter df = DateTimeFormat
.forPattern("EEE MMM dd HH:mm:ss 'GMT'Z yyyy");
final DateTime dateTime = df.withOffsetParsed()
.parseDateTime("Mon Aug 24 12:36:46 GMT+1000 2009");
This works.
also you can chose:
// parse using the Paris zone
DateTime date = formatter.withZone(DateTimeZone.forID("Europe/Paris")).parseDateTime(str);