junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/Dates.java
static String formatTime(long time, String pattern) {
		Date date = new Date();
		date.setTime(time);
		return format(date, pattern);
	}
static String formatTime(long time, String pattern) {
		Date date = new Date();
		date.setTime(time);
		return format(date, pattern);
	}
Format timestamp according to given pattern.

@param time Timestamp.
@param pattern Pattern.
@return Formatted date.