Time represented as an Int63.t number of nanoseconds since the epoch.
Int63.t
Core
Unix epoch (1970-01-01 00:00:00 UTC)
Will raise on 32-bit platforms. Consider to_int63_ns_since_epoch instead.
to_int63_ns_since_epoch
next_multiple ~base ~after ~interval returns the smallest time of the form:
next_multiple ~base ~after ~interval
time
time = base + k * interval
where k >= 0 and time > after. It is an error if interval <= 0.
k >= 0
time > after
interval <= 0
Supplying ~can_equal_after:true allows the result to satisfy time >= after.
~can_equal_after:true
time >= after