Here you can find the source of isoFormat(Date date)
public static String isoFormat(Date date)
//package com.java2s; //License from project: LGPL import com.fasterxml.jackson.databind.util.ISO8601DateFormat; import java.text.DateFormat; import java.util.Date; public class Main { public static final DateFormat isoDateFormat = new ISO8601DateFormat(); public static String isoFormat(Date date) { return isoDateFormat.format(date); }/*from w w w . j a v a2 s . co m*/ }