比較兩個日期時間
(require '[clj-time.core :as t])
(def date1 (t/date-time 2016 12 5))
(def date2 (t/date-time 2016 12 6))
(t/equal? date1 date2) ;; false
(t/equal? date1 date1) ;; true
(t/before? date1 date2) ;; true
(t/before? date2 date1) ;; false
(t/after? date1 date2) ;; false
(t/after? date2 date1) ;; true