package mechaml

  1. Overview
  2. Docs

Module Format.TimeSource

include S
Sourcetype t
Sourceval to_string : t -> string
Sourceval 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.