add timestamp.ml
WIP better time revert this?
This commit is contained in:
parent
d760a54b61
commit
d7d302bafa
10 changed files with 143 additions and 142 deletions
15
src/timestamp.mli
Normal file
15
src/timestamp.mli
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
(* TODO time
|
||||
not sure about this *)
|
||||
|
||||
type t = Ptime.t option
|
||||
type span = Ptime.Span.t option
|
||||
|
||||
val diff : t -> t -> span
|
||||
val add_span_exn : t -> span -> t
|
||||
val of_span_exn : span -> t
|
||||
|
||||
(* - *)
|
||||
val jsont : t Jsont.t
|
||||
val bin : t Bin.t
|
||||
val bin_nbo : t Bin.t
|
||||
val caqti : Ptime.t option Caqti_type.t
|
||||
Loading…
Add table
Add a link
Reference in a new issue