Liking cljdoc? Tell your friends :D

clj-gcloud.duration


->durationclj

(->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"]
sourceraw docstring

chrono-unitsclj

source

time-unitsclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close