package mechaml

  1. Overview
  2. Docs
include S
type t
val to_string : t -> string
val make : hour:int -> minute:int -> second:int -> t option

Create a time representation from hours, minutes and seconds. If an invalid time is given (e.g. hours < 0), then None is returned.

OCaml

Innovation. Community. Security.