Code example for TimeUnit

Methods: toDays

0
    public long getHours() { 
        return hours(); 
    } 
 
    public long days() { 
        return timeUnit.toDays(duration);
    } 
 
    public long getDays() { 
        return days(); 
    } 
 
    public double microsFrac() { 
        return ((double) nanos()) / C1;
    } 
 
    public double getMicrosFrac() { 
        return microsFrac(); 
    }