Here you can find the source of toISO2616DateFormat(Date date)
public static String toISO2616DateFormat(Date date)
//package com.java2s; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import java.util.TimeZone; public class Main { public static String toISO2616DateFormat(Date date) { SimpleDateFormat dateFormat = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss z", Locale.US); dateFormat.setTimeZone(TimeZone.getTimeZone("GMT")); return dateFormat.format(date); }/* w ww . j av a 2s . c o m*/ }