TimeUnit: toMinutes(long duration)


import java.util.concurrent.TimeUnit;

public class Main {
  public static void main(String[] args) {
    TimeUnit tu = TimeUnit.DAYS;

    System.out.println(tu.toDays(1));
    System.out.println(tu.toHours(1));
    System.out.println(tu.toMinutes(1));

  }
}
Home 
  Java Book 
    Thread Conncurrent  

TimeUnit:
  1. The TimeUnit Enumeration
  2. TimeUnit: DAYS
  3. TimeUnit.MILLISECONDS
  4. TimeUnit.SECONDS
  5. TimeUnit: sleep(long timeout)
  6. TimeUnit: toDays(long duration)
  7. TimeUnit: toHours(long duration)
  8. TimeUnit: toMinutes(long duration)