module TimeUnit:sig..end
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. | *) |
val convert : t -> t -> int64 -> int64convert f t x converts the value x from unit f to unit t.