Lines Matching refs:endUtcMillis
275 * @param startUtcMillis start of duration in millis. Should be less than {code endUtcMillis}.
276 * @param endUtcMillis end of duration in millis. Should be larger than {@code startUtcMillis}.
283 Context context, long startUtcMillis, long endUtcMillis, boolean useShortFormat) {
284 return getDurationString(context, System.currentTimeMillis(), startUtcMillis, endUtcMillis,
290 long startUtcMillis, long endUtcMillis, boolean useShortFormat, int flag) {
296 if (startUtcMillis != endUtcMillis && useShortFormat) {
300 if (!isInGivenDay(startUtcMillis, endUtcMillis - 1)
301 && endUtcMillis - startUtcMillis < TimeUnit.HOURS.toMillis(11)) {
306 startUtcMillis, endUtcMillis - TimeUnit.DAYS.toMillis(1), flag);
309 return DateUtils.formatDateRange(context, startUtcMillis, endUtcMillis, flag);