Searched refs:measureFormat (Results 1 – 2 of 2) sorted by relevance
238 final MeasureFormat measureFormat = MeasureFormat.getInstance( in formatShortElapsedTime() local242 return measureFormat.format(new Measure(days, MeasureUnit.DAY)); in formatShortElapsedTime()244 return measureFormat.formatMeasures( in formatShortElapsedTime()249 return measureFormat.format(new Measure(hours, MeasureUnit.HOUR)); in formatShortElapsedTime()251 return measureFormat.formatMeasures( in formatShortElapsedTime()256 return measureFormat.format(new Measure(minutes, MeasureUnit.MINUTE)); in formatShortElapsedTime()258 return measureFormat.formatMeasures( in formatShortElapsedTime()262 return measureFormat.format(new Measure(seconds, MeasureUnit.SECOND)); in formatShortElapsedTime()279 final MeasureFormat measureFormat = MeasureFormat.getInstance( in formatShortElapsedTimeRoundingUpToMinutes() local281 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()