(all-supported-fields temporal-accessor)
Returns a map of supported temporal field lisp-style name -> value, e.g.
(parse-special-case (.parse (b/formatter (b/value :year 4) (b/value :iso/week-of-year 2)) "201901")) ;; -> {:year 2019, :iso-week-of-year 1}
Returns a map of supported temporal field lisp-style name -> value, e.g. (parse-special-case (.parse (b/formatter (b/value :year 4) (b/value :iso/week-of-year 2)) "201901")) ;; -> {:year 2019, :iso-week-of-year 1}
(parse s)
Parse a string into a java.time
object.
Parse a string into a `java.time` object.
(parse-with-formatter formattr s)
Parse a String with a DateTimeFormatter, returning an appropriate instance of an java.time
temporal class.
Parse a String with a DateTimeFormatter, returning an appropriate instance of an `java.time` temporal class.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close