Based on java.util.concurrent.TimeUnit and timeunit in npm TimeUnit is a port of the public domain TimeUnit Java class by Doug Lea This class is the basis for java.util.concurrent.TimeUnit from JavaSE. A timeunit represents time durations at a given unit of granularity and provides utility methods to convert across units, and to perform delay operations in these units. A timeunit does not maintain time information, but only helps organize and use time representations that may be maintained separately across various contexts. A timeunit is mainly used to inform time-based methods how a given timing parameter should be interpreted.

This is a companion discussion topic for the original entry at