Here you can find the source of getISO8601DateFormat()
public static DateFormat getISO8601DateFormat()
//package com.java2s; // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.TimeZone; public class Main { public static final String ISO8601_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm'Z'"; public static final TimeZone UTC = TimeZone.getTimeZone("UTC"); public static DateFormat getISO8601DateFormat() { DateFormat dateFormat = new SimpleDateFormat(ISO8601_DATE_FORMAT); dateFormat.setTimeZone(UTC);/* ww w . j a v a2 s .c o m*/ return dateFormat; } }