package plato

  1. Overview
  2. Docs
type t
val make : ?hour:int -> ?minute:int -> ?second:int -> ?microsecond:int -> ?tzinfo:tzinfo -> ?fold:int -> unit -> t
val hour : t -> int
val minute : t -> int
val second : t -> int
val microsecond : t -> int
val tzinfo : t -> tzinfo option
val fold : t -> int
val utcoffset : t -> Timedelta.t option
val compare : ?allow_mixed:bool -> t -> t -> int
val eq : t -> t -> bool
val le : t -> t -> bool
val lt : t -> t -> bool
val ge : t -> t -> bool
val gt : t -> t -> bool
val replace : ?hour:int -> ?minute:int -> ?second:int -> ?microsecond:int -> ?tzinfo:bool -> ?fold:int -> t -> t
val hash : t -> int
val repr : t -> string
val isoformat : ?timespec:string -> t -> string
val to_string : t -> string
val tzname : t -> string option
val dst : t -> Timedelta.t option
val min : t
val max : t
val resolution : Timedelta.t
OCaml

Innovation. Community. Security.