Searched defs:minResolution (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/core/java/android/text/format/
H A DDateUtils.java420 * @param minResolution the minimum timespan to report. For example, a time 3 seconds in the
424 public static CharSequence getRelativeTimeSpanString(long time, long now, long minResolution) { argument
426 return getRelativeTimeSpanString(time, now, minResolution, flags);
440 * @param minResolution the minimum timespan to report. For example, a time
449 public static CharSequence getRelativeTimeSpanString(long time, long now, long minResolution, argument
459 if (duration < MINUTE_IN_MILLIS && minResolution < MINUTE_IN_MILLIS) {
474 } else if (duration < HOUR_IN_MILLIS && minResolution < HOUR_IN_MILLIS) {
489 } else if (duration < DAY_IN_MILLIS && minResolution < DAY_IN_MILLIS) {
504 } else if (duration < WEEK_IN_MILLIS && minResolution < WEEK_IN_MILLIS) {
560 * @param minResolution th
570 getRelativeDateTimeString(Context c, long time, long minResolution, long transitionResolution, int flags) argument
[all...]

Completed in 28 milliseconds