Searched refs:timeDiffAndUnit (Results 1 – 1 of 1) sorted by relevance
102 val timeDiffAndUnit = calculateTimeDiffAndUnit(duration) in getTimeDiffStr() constant103 return when (timeDiffAndUnit.second) { in getTimeDiffStr()108 timeDiffAndUnit.first.toInt() in getTimeDiffStr()114 timeDiffAndUnit.first.toInt() in getTimeDiffStr()117 StringUtils.getIcuPluralsString(context, R.string.hours, timeDiffAndUnit.first.toInt()) in getTimeDiffStr()119 StringUtils.getIcuPluralsString(context, R.string.days, timeDiffAndUnit.first.toInt()) in getTimeDiffStr()129 val timeDiffAndUnit = calculateTimeDiffAndUnit(duration) in getDurationUsedStr() constant130 return when (timeDiffAndUnit.second) { in getDurationUsedStr()135 timeDiffAndUnit.first.toInt() in getDurationUsedStr()141 timeDiffAndUnit.first.toInt() in getDurationUsedStr()[all …]