Searched refs:hrs (Results 1 – 2 of 2) sorted by relevance
85 final long hrs = TimeUnit.MILLISECONDS.toHours(ms - TimeUnit.DAYS.toMillis(days)); in getDuration() local87 - TimeUnit.HOURS.toMillis(hrs)); in getDuration()89 - TimeUnit.HOURS.toMillis(hrs) - TimeUnit.MINUTES.toMillis(mins)); in getDuration()91 return String.format("%dd %dh %dm %ds", days, hrs, mins, secs); in getDuration()
2305 long hrs = duration / (60 * 60); in getTimeString() local2307 if (hrs > 0) { in getTimeString()2308 time = String.format("%dh:%02d:%02d", hrs, mins, secs); in getTimeString()