Code example for TimeUnit

Methods: toHours

0
    public long getMinutes() { 
        return minutes(); 
    } 
 
    public long hours() { 
        return timeUnit.toHours(duration);
    } 
 
    public long getHours() { 
        return hours(); 
    } 
 
    public long days() { 
        return timeUnit.toDays(duration);
    } 
 
    public long getDays() { 
        return days(); 
    } 
 
    public double microsFrac() {