package ocaml-vdom

  1. Overview
  2. Docs
type t = private Ojs.t
val t_of_js : Ojs.t -> t
val t_to_js : t -> Ojs.t
val new_date : float -> t
val now : unit -> float
val parse : string -> t
val get_date : t -> int
val get_day : t -> int
val get_full_year : t -> int
val get_hours : t -> int
val get_milliseconds : t -> int
val get_minutes : t -> int
val get_month : t -> int
val get_seconds : t -> int
val get_time : t -> int
val get_timezone_offset : t -> int
val get_UTC_date : t -> int
val get_UTC_day : t -> int
val get_UTC_full_year : t -> int
val get_UTC_hours : t -> int
val get_UTC_milliseconds : t -> int
val get_UTC_minutes : t -> int
val get_UTC_month : t -> int
val get_UTC_seconds : t -> int
val get_year : t -> int
val set_date : t -> int -> unit
val set_full_year : t -> int -> unit
val set_hours : t -> int -> unit
val set_milliseconds : t -> int -> unit
val set_minutes : t -> int -> unit
val set_month : t -> int -> unit
val set_seconds : t -> int -> unit
val set_time : t -> int -> unit
val set_UTC_date : t -> int -> unit
val set_UTC_full_year : t -> int -> unit
val set_UTC_hours : t -> int -> unit
val set_UTC_milliseconds : t -> int -> unit
val set_UTC_minutes : t -> int -> unit
val set_UTC_month : t -> int -> unit
val set_UTC_seconds : t -> int -> unit
val set_year : t -> int -> unit
val to_date_string : t -> string
val to_GMT_string : t -> string
val to_ISO_string : t -> string
val to_locale_string : t -> string
val to_string : t -> string
val to_time_string : t -> string
val to_UTC_string : t -> string
OCaml

Innovation. Community. Security.