(compare-periods p1 p2)
Periods are not comparable in the java Comparable sense, instead this performs simple units-by-units comparison. So a period of 1 year will always compare greater than a period of 13 months and similar for days and months.
Periods are not comparable in the java Comparable sense, instead this performs simple units-by-units comparison. So a period of 1 year will always compare greater than a period of 13 months and similar for days and months.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close