Searched refs:measureList (Results 1 – 1 of 1) sorted by relevance
75 final ArrayList<Measure> measureList = new ArrayList(4); in formatElapsedTime() local77 measureList.add(new Measure(days, MeasureUnit.DAY)); in formatElapsedTime()80 measureList.add(new Measure(hours, MeasureUnit.HOUR)); in formatElapsedTime()83 measureList.add(new Measure(minutes, MeasureUnit.MINUTE)); in formatElapsedTime()86 measureList.add(new Measure(seconds, MeasureUnit.SECOND)); in formatElapsedTime()88 if (measureList.size() == 0) { in formatElapsedTime()90 measureList.add(new Measure(0, withSeconds ? MeasureUnit.SECOND : MeasureUnit.MINUTE)); in formatElapsedTime()93 if (collapseTimeUnit && measureList.size() > LIMITED_TIME_UNIT_COUNT) { in formatElapsedTime()95 measureList.subList(LIMITED_TIME_UNIT_COUNT, measureList.size()).clear(); in formatElapsedTime()98 final Measure[] measureArray = measureList.toArray(new Measure[measureList.size()]); in formatElapsedTime()