File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 170170 (before? y (first more)))
171171 false )))
172172
173- (def not-after?
174- " Similar to [[before?]], but also returns truthy if the inputs are equal."
175- (complement after?))
176-
177173(defn after?
178174 " Returns a truthy value if time entities are ordered from the latest to the
179175 earliest (same semantics as `>`):
193189 (after? y (first more)))
194190 false )))
195191
192+ (def not-after?
193+ " Similar to [[before?]], but also returns truthy if the inputs are equal."
194+ (complement after?))
195+
196196(def not-before?
197197 " Similar to [[after?]], but also returns truthy if the inputs are equal."
198198 (complement before?))
Original file line number Diff line number Diff line change 904904 (is (not (j/not-after? interval-3-4 interval-1-2)))
905905 (is (j/not-after? interval-1-2 instant-1))
906906 (is (j/not-after? interval-1-2 instant-3))
907- (is (not (j/not-after? interval-3-4 instant-1)))))
907+ (is (not (j/not-after? interval-3-4 instant-1))))))
908908
909909(jt.u/when-joda-time-loaded
910910
You can’t perform that action at this time.
0 commit comments