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

/libcore/luni/src/test/java/libcore/icu/
H A DRelativeDateTimeFormatterTest.java96 private void test_getRelativeTimeSpanString_helper(long delta, long minResolution, int flags, argument
107 getRelativeTimeSpanString(en_US, tz, base - delta, base, minResolution, flags));
109 getRelativeTimeSpanString(en_US, tz, base + delta, base, minResolution, flags));
112 private void test_getRelativeTimeSpanString_helper(long delta, long minResolution, argument
115 test_getRelativeTimeSpanString_helper(delta, minResolution, 0, expectedInPast, expectedInFuture);
181 // duration >= minResolution
217 // duration < minResolution
298 // duration >= minResolution
335 // duration < minResolution
/libcore/luni/src/main/java/libcore/icu/
H A DRelativeDateTimeFormatter.java75 * minResolution is HOUR_IN_MILLIS. Once getting the quantity and unit to
79 * Note that when minResolution is set to DAY_IN_MILLIS, it returns the
89 * minResolution.
92 long now, long minResolution, int flags) {
96 return getRelativeTimeSpanString(locale, tz, time, now, minResolution, flags, displayContext);
100 long now, long minResolution, int flags, DisplayContext displayContext) {
109 return getRelativeTimeSpanString(icuLocale, icuTimeZone, time, now, minResolution, flags,
114 com.ibm.icu.util.TimeZone icuTimeZone, long time, long now, long minResolution, int flags,
142 if (duration < MINUTE_IN_MILLIS && minResolution < MINUTE_IN_MILLIS) {
145 } else if (duration < HOUR_IN_MILLIS && minResolution < HOUR_IN_MILLI
91 getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, long now, long minResolution, int flags) argument
99 getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, long now, long minResolution, int flags, DisplayContext displayContext) argument
113 getRelativeTimeSpanString(ULocale icuLocale, com.ibm.icu.util.TimeZone icuTimeZone, long time, long now, long minResolution, int flags, DisplayContext displayContext) argument
260 getRelativeDateTimeString(Locale locale, java.util.TimeZone tz, long time, long now, long minResolution, long transitionResolution, int flags) argument
[all...]

Completed in 60 milliseconds