package gemini

  1. Overview
  2. Docs

A timestamp is just a core time instance that was converted from some raw json date.

val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val equal : t -> t -> bool
val compare : t -> t -> int
val to_string : Time_float_unix.t -> Base.String.t
val to_yojson : Time_float_unix.t -> [> `String of Base.String.t ]
val of_yojson_with_span : (Core.Float.t -> Core.Time_float.Span.t) -> [< `Assoc of (string * Yojson.Safe.t) list | `Bool of bool | `Float of float | `Int of int | `Int64 of int64 | `Intlit of string | `List of Yojson.Safe.t list | `Null | `String of string | `Tuple of Yojson.Safe.t list | `Variant of string * Yojson.Safe.t option ] -> (Time_float_unix.t, string) Base.Result.t
val of_yojson : Yojson.Safe.t -> (Time_float_unix.t, string) Base.Result.t
val of_string : string -> Time_float_unix.t
OCaml

Innovation. Community. Security.