'Z' outputs offset without a colon, 'ZZ' outputs the offset with a colon
AFAIK in ISO 8601 format timezone designator colon is optional and both variants (+04:00 and +0400) are allowed
0
Michael-O
On
The Wikipedia format is incorrect. Joda's is correct. If you use the extended datetime format, timezone offset must be extended too. So, a single Z is simply wrong.
It must be either yyyy-MM-dd'T'HH:mm:ss.SSSZZ or yyyyMMdd'T'HHmmss.SSSZ.
From Joda documentation:
AFAIK in ISO 8601 format timezone designator colon is optional and both variants (+04:00 and +0400) are allowed