package plato

  1. Overview
  2. Docs
type t
val make : int -> int -> int -> t
val fromtimestamp : float -> t
val today : unit -> t
val fromordinal : int -> t
val fromisoformat : string -> t
val fromisocalendar : int -> int -> int -> t
val repr : t -> string
val toordinal : t -> int
val ctime : t -> string
val isoformat : t -> string
val str : t -> string
val year : t -> int
val month : t -> int
val day : t -> int
val timetuple : t -> Time.struct_time
val replace : ?year:int -> ?month:int -> ?day:int -> t -> t
val compare : 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 hash : t -> int
val add : t -> Timedelta.t -> t
val sub : t -> t -> Timedelta.t
val sub_delta : t -> Timedelta.t -> t
val weekday : t -> int
val isoweekday : t -> int
val isocalendar : t -> int * int * int
val min : t
val max : t
val resolution : Timedelta.t
OCaml

Innovation. Community. Security.