public static String format(Date date, String pattern) {
		return df(pattern).format(date);
	}
public static String format(Date date, String pattern) {
		return df(pattern).format(date);
	}
public static String format ( Date date , String pattern ) { return df ( pattern ) . format ( date ) ; }
Format date according to given pattern.

@param date Date.
@param pattern Pattern.
@return Formatted date.
Format date according to given pattern .