(->duration [amt unit])
Convenience method for converting a human friendly duration into a Duration. Allowed units are :hours, :minutes, :seconds, :millis and :nanos.
ex. (->duration [10 :seconds]) => #object[java.time.Duration 0x4d156026 "PT10S"]
Convenience method for converting a human friendly duration into a Duration. Allowed units are :hours, :minutes, :seconds, :millis and :nanos. ex. (->duration [10 :seconds]) => #object[java.time.Duration 0x4d156026 "PT10S"]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close