timmy
Timmy.Weekday
A day of the week.
clock_virtual_impl
timmy.clock
timmy.clock-virtual
type t =
| Monday
| Tuesday
| Wednesday
| Thursday
| Friday
| Saturday
| Sunday
val to_int : ?base:t -> t -> int
to_int ~base weekday is the number of days from base to the next weekday.
to_int ~base weekday
base
weekday
Base defaults to Monday.
Monday
val pp : t Fmt.t
pp f weekday prints weekday to f as its english name.
pp f weekday
f
val to_string : t -> string
to_string weekday is the english name of weekday.
to_string weekday
val equal : t -> t -> bool
val compare : t -> t -> int
module O : sig ... end
include module type of O
val (=) : t -> t -> bool
val (<>) : t -> t -> bool