From de477cfe6c58604d48f40608d7419f5b3c0b6df5 Mon Sep 17 00:00:00 2001 From: swrup Date: Sun, 7 Dec 2025 12:41:50 +0100 Subject: [PATCH] --- src/timestamp.ml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/timestamp.ml b/src/timestamp.ml index ce06735b..f81bbfc1 100644 --- a/src/timestamp.ml +++ b/src/timestamp.ml @@ -30,6 +30,9 @@ type span = t module Span = struct type t = span + let to_int64_s t = t + let of_int64_s t = t + let to_int_s t = let n = Int64.div t 1_000_000_L in Int64.to_int n