jodatime « Date Time Format « Java Data Type Q&A





1. Is my Joda Time format pattern incorrect to produce a `T` and `Z` inside the parsed DateTime output?    stackoverflow.com

Using Joda Time's pattern syntax below, this input string:

Sunday, January 09, 2011 6:15:00 PM
becomes this datetime:
2011-01-09T06:15:00.000Z
Code:
String start = "Sunday, January 09, 2011 6:15:00 PM";

DateTimeFormatter parser1 = 
DateTimeFormat.forPattern("EEEE, MMMM dd, ...

2. Joda Time problem with timezone pattern    stackoverflow.com

I don't understand why the following lines of code are not working with Joda Time:

DateTime now = new DateTime();
DateTimeFormatter dateTimeFormatter = DateTimeFormat.
          ...