+ \r
+ public static CharSequence getRelativeDateTimeString(Context c, long time, long minResolution, long transitionResolution, int flags){\r
+ if (time > System.currentTimeMillis()){\r
+ return DisplayUtils.unixTimeToHumanReadable(time);\r
+ } else if ((System.currentTimeMillis() - time) < 60000) {\r
+ return c.getString(R.string.file_list_seconds_ago) + ", " + \r
+ DateFormat.getTimeFormat(c).format(new Date(time));\r
+ } else {\r
+ return DateUtils.getRelativeDateTimeString(c, time, minResolution, transitionResolution, flags);\r
+ }\r
+ }\r