/** * Return readable string of time different compare between 'then' and current time e.g 10 minutes * ago, 1 hour ago * * @param from * @param then * @return */ public static String getHowLongAgoDescription(Date then) { Locale locale = Locale.getDefault(); PrettyTime p = new PrettyTime(locale); return p.formatUnrounded(then); }