(format o)
(format fmt o)
Formats the given time entity as a string.
Accepts something that can be converted to a DateTimeFormatter
as a first
argument. Given one argument uses the default format.
Formats the given time entity as a string. Accepts something that can be converted to a `DateTimeFormatter` as a first argument. Given one argument uses the default format.
(formatter fmt)
(formatter fmt {:keys [resolver-style]})
Constructs a DateTimeFormatter out of a
Accepts a map of options as an optional second argument:
resolver-style
- either :strict
, :smart
or :lenient
Constructs a DateTimeFormatter out of a * format string - "YYYY/mm/DD", "YYY HH:MM", etc. * formatter name - :date, :time-no-millis, etc. Accepts a map of options as an optional second argument: * `resolver-style` - either `:strict`, `:smart `or `:lenient`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close