Format the given {@link Date} object. This method applies the {@code PrettyTime.approximateDuration(date)} methodto perform its calculation. If {@code then} is null, it will default to {@code new Date()}; also decorate for past/future tense.
@param duration the {@link Date} to be formatted
@return A formatted string representing {@code then}
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.