package plato

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Datetime.DatetimeSource

Sourceval make : int -> int -> int -> ?hour:int -> ?minute:int -> ?second:int -> ?microsecond:int -> ?tzinfo:tzinfo -> ?fold:int -> unit -> t
Sourceval hour : t -> int
Sourceval minute : t -> int
Sourceval second : t -> int
Sourceval microsecond : t -> int
Sourceval tzinfo : t -> tzinfo option
Sourceval fold : t -> int
Sourceval utcoffset : t -> Timedelta.t option
Sourceval toordinal : t -> int
Sourceval sub : t -> t -> Timedelta.t
Sourceval replace : ?year:int -> ?month:int -> ?day:int -> ?hour:int -> ?minute:int -> ?second:int -> ?microsecond:int -> ?tzinfo:tzinfo -> ?fold:int -> t -> t
Sourceval cmp : ?allow_mixed:bool -> t -> t -> int
Sourceval compare : t -> t -> int
Sourceval eq : t -> t -> bool
Sourceval le : t -> t -> bool
Sourceval lt : t -> t -> bool
Sourceval ge : t -> t -> bool
Sourceval gt : t -> t -> bool
Sourceval fromtimestamp : ?tz:tzinfo -> float -> t
Sourceval utcfromtimestamp : float -> t
Sourceval now : ?tz:tzinfo -> unit -> t
Sourceval utcnow : unit -> t
Sourceval combine : ?tzinfo:tzinfo -> Date.t -> Time.t -> t
Sourceval add : t -> Timedelta.t -> t
Sourceval make_timezone : ?name:string -> Timedelta.t -> tzinfo
Sourceval utc_timezone : tzinfo
Sourceval parse_isoformat_time : string -> int * int * int * int * tzinfo option
Sourceval fromisoformat : string -> t
Sourceval dst : t -> Timedelta.t option
Sourceval timetuple : t -> Time_.struct_time
Sourceval mktime : t -> int
Sourceval _EPOCH : t
Sourceval timestamp : t -> float
Sourceval utctimetuple : t -> Time_.struct_time
Sourceval date : t -> Date.t
Sourceval time : t -> Time.t
Sourceval timetz : t -> Time.t
Sourceval ctime : t -> string
Sourceval isoformat : ?sep:char -> ?timespec:string -> t -> string
Sourceval repr : t -> string
Sourceval to_string : t -> string
Sourceval tzname : t -> string option
Sourceval hash : t -> int
Sourceval min : t
Sourceval max : t
Sourceval resolution : Timedelta.t
OCaml

Innovation. Community. Security.