src/main/java/com/zandero/utils/InstantTimeUtils.java
public static String formatDateTime(Instant time) {
		Assert.notNull(time, "Missing time!");
		return DATE_TIME_FORMAT.format(time);
	}
public static String formatDateTime(Instant time) {
		Assert.notNull(time, "Missing time!");
		return DATE_TIME_FORMAT.format(time);
	}
public static String formatDateTime ( Instant time ) { Assert . notNull ( time , "Missing time!" ) ; return DATE_TIME_FORMAT . format ( time ) ; }
Formats time to String

@param time to be formatted (UTC) in milliseconds
@return date time formatted to yyyy-MM-dd HH:mm:ss Z
Formats time to String