(inst-in-range? start end inst)
Return true if inst at or after start and before end
Source
(defn
inst-in-range?
"Return true if inst at or after start and before end"
[start end inst]
(c/and
(inst? inst)
(let
[t (inst-ms inst)]
(c/and (<= (inst-ms start) t) (< t (inst-ms end))))))