module TimeUnit: sig .. end
Time units.
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(...)