A small time-period (e.g. 4 months, 3 hours, 2 minutes) library for easy conversion and normalization. Not meant to work on date-times. I repeat, this is not a date-time library.
From this point forward, it is assumed that your require statement looks like this
(require '[periods.core :as periods])
{:hours 25}
(def period-units
[:years :months :days :hours :minutes :seconds :milliseconds])
(periods/normalize {:hours 25}) ;; => {:days 1, :hours 1}
(periods/period->mono-period {:years 2 :days 40} :minutes) ;; => {:minutes 1109520}
(periods/normalize-milliseconds {:milliseconds 66571200000}) ;; => {:years 2, :months 1, :days 9, :hours 13, :minutes 30}