Module TimeUnit

module TimeUnit: sig .. end
Time units.

type t = 
| Nanoseconds (*Associated value is a number of nanoseconds.*)
| Microseconds (*Associated value is a number of microseconds.*)
| Milliseconds (*Associated value is a number of milliseconds.*)
| Seconds (*Associated value is a number of seconds.*)
| Minutes (*Associated value is a number of minutes.*)
| Hours (*Associated value is a number of hours.*)
| Days (*Associated value is a number of days.*)
The type of units used to express durations (e. g. for timeouts).
val convert : t -> t -> int64 -> int64
convert f t x converts the value x from unit f to unit t.