V1.Timestamp
Represents all styles of timestamps possibly returned by various gemini endpoints.
module T0 : sig ... end
module T : sig ... end
module Ms : sig ... end
module Sec : sig ... end
include module type of struct include T end
include module type of struct include T0 end
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 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
include Csvfields.Csv.Csvable with type t := t
val t_of_row' : 'a -> string list -> (unit -> t) * string list
val write_row_of_t' :
is_first:bool ->
is_last:bool ->
writer:(string -> unit) ->
'a ->
'b ->
t ->
unit
val t_of_row : string list -> t
val row_of_t : t -> string list
val csv_load : ?separator:char -> string -> t list
val csv_load_in : ?separator:char -> Core.In_channel.t -> t list
val csv_save_fn : ?separator:char -> (string -> unit) -> t list -> unit
val csv_save_out : ?separator:char -> Core.Out_channel.t -> t list -> unit
val csv_save : ?separator:char -> string -> t list -> unit