On Wednesday, June 8, 2016 at 3:23:51 AM UTC-5, Mamun wrote: > > Excellent set of new predicates. What about date predicate? > > It would be nice if there are also date predicate as an example in bellow > > date? >
Use clojure.core/inst? > date-past? > date-future? > You can use the new clojure.spec/inst-in-range? predicate to check inst ranges. We could consider something that would do open ranges too if you wanted to file a jira for that. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.