Module java.base
Package java.util.concurrent

# Enum TimeUnit

=
public final enum TimeUnit
extends java.lang.Enum<java.util.concurrent.TimeUnit>

## Enum Constants

- =
  DAYS
- =
  HOURS
- =
  MICROSECONDS
- =
  MILLISECONDS
- =
  MINUTES
- =
  NANOSECONDS
- =
  SECONDS

## Methods

- =
  public long convert(long arg0, java.util.concurrent.TimeUnit arg1)
- =
  public long convert(java.time.Duration arg0)
- =
  public static java.util.concurrent.TimeUnit of(java.time.temporal.ChronoUnit arg0)
- =
  public void sleep(long arg0) throws java.lang.InterruptedException
- =
  public void timedJoin(java.lang.Thread arg0, long arg1) throws java.lang.InterruptedException
- =
  public void timedWait(java.lang.Object arg0, long arg1) throws java.lang.InterruptedException
- =
  public java.time.temporal.ChronoUnit toChronoUnit()
- =
  public long toDays(long arg0)
- =
  public long toHours(long arg0)
- =
  public long toMicros(long arg0)
- =
  public long toMillis(long arg0)
- =
  public long toMinutes(long arg0)
- =
  public long toNanos(long arg0)
- =
  public long toSeconds(long arg0)
- =
  public static java.util.concurrent.TimeUnit valueOf(java.lang.String arg0)
- =
  public static java.util.concurrent.TimeUnit[] values()

## Summary

No differences.