Here you can find the source of getIsoFormat()
public static DateFormat getIsoFormat()
//package com.java2s; //License from project: Open Source License import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.TimeZone; public class Main { /**/*from w w w . j a va 2s . co m*/ * Returns ISO DataFormat 'yyyy-MM-dd'T'HH:mm:ss.SSS' * * @return ISO DateFormat */ public static DateFormat getIsoFormat() { SimpleDateFormat isoFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS"); //$NON-NLS-1$ isoFormat.setTimeZone(TimeZone.getTimeZone("GMT")); //$NON-NLS-1$ return isoFormat; } }