Here you can find the source of getIso8601DateFormat()
public static DateFormat getIso8601DateFormat()
//package com.java2s; //License from project: Open Source License import java.text.DateFormat; import java.text.SimpleDateFormat; public class Main { public static DateFormat getIso8601DateFormat() { // 19980717T14:08:55 // YYYY-MM-DDThh:mm:ss.sTZD return new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.Sz"); }/*w w w .j a va 2 s.co m*/ }