Time_sig.Second

# Module type Time_sig.Second

    module type Second = sig .. end

Interface for seconds.
Since 2.0

    type t

Type of seconds.

    val from_int : int -> t

Convert an integer to an equivalent number of seconds.

    val from_float : float -> t

Convert a float to an equivalent number of seconds.

    val to_int : t -> int

Inverse of `from_int`.

    val to_float : t -> float

Inverse of `from_float`.