# Module Span.Unit_of_time

    module Unit_of_time: sig .. end

    type t =

`|` | `Nanosecond`
`|` | `Microsecond`
`|` | `Millisecond`
`|` | `Second`
`|` | `Minute`
`|` | `Hour`
`|` | `Day`

Represents a unit of time for purposes of human-readable display. Comparison respects Nanosecond < Microsecond < Millisecond < Second < Minute < Hour < Day.

    val compare : t -> t -> int

    val t_of_sexp : Sexplib.Sexp.t -> t

    val sexp_of_t : t -> Sexplib.Sexp.t