Searched refs:measureFormat (Results 1 – 2 of 2) sorted by relevance
246 final MeasureFormat measureFormat = MeasureFormat.getInstance( in formatShortElapsedTime() local250 return measureFormat.format(new Measure(days, MeasureUnit.DAY)); in formatShortElapsedTime()252 return measureFormat.formatMeasures( in formatShortElapsedTime()257 return measureFormat.format(new Measure(hours, MeasureUnit.HOUR)); in formatShortElapsedTime()259 return measureFormat.formatMeasures( in formatShortElapsedTime()264 return measureFormat.format(new Measure(minutes, MeasureUnit.MINUTE)); in formatShortElapsedTime()266 return measureFormat.formatMeasures( in formatShortElapsedTime()270 return measureFormat.format(new Measure(seconds, MeasureUnit.SECOND)); in formatShortElapsedTime()288 final MeasureFormat measureFormat = MeasureFormat.getInstance( in formatShortElapsedTimeRoundingUpToMinutes() local290 return measureFormat.format(new Measure(minutesRoundedUp, MeasureUnit.MINUTE)); in formatShortElapsedTimeRoundingUpToMinutes()
95 final MeasureFormat measureFormat = MeasureFormat.getInstance( in formatElapsedTime() local97 sb.append(measureFormat.formatMeasures(measureArray)); in formatElapsedTime()