TimeUnit

Enum TimeUnit

All Implemented Interfaces:
Serializable, Comparable<TimeUnit>
public enum TimeUnit
extends Enum<TimeUnit>

A TimeUnit represents time durations at a given unit of granularity and provides utility methods to convert across units, and to perform timing and delay operations in these units. A TimeUnit does not maintain time information, but only helps organize