enforce keys time constraint
This commit is contained in:
parent
a376fc584f
commit
c879f57dc9
4 changed files with 19 additions and 4 deletions
|
|
@ -97,6 +97,10 @@ module Timestamp = struct
|
|||
let never = uint64_max
|
||||
let zero = 0L
|
||||
let compare = Int64.unsigned_compare
|
||||
let gt a b = compare a b > 0
|
||||
let geq a b = compare a b >= 0
|
||||
let lt a b = compare a b < 0
|
||||
let leq a b = compare a b <= 0
|
||||
let min a b = if compare a b < 0 then a else b
|
||||
let max a b = if compare a b > 0 then a else b
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue