Module TimeUnit

module TimeUnit: sig .. end
Time units.

type t = java'util'concurrent'TimeUnit java_instance
The type of units used to express durations (e.g. for timeouts).
 
val nanoseconds : t
Time unit for nanoseconds.
 
val microseconds : t
Time unit for microseconds.
 
val milliseconds : t
Time unit for milliseconds.
 
val seconds : t
Time unit for seconds.
 
val minutes : t
Time unit for minutes.
 
val hours : t
Time unit for hours.
 
val days : t
Time unit for days.
 
val convert : src:t -> dst:t -> java_long -> java_long
convert ~src ~dst x converts the value x from unit src to unit dst; see convert(...)