Liking cljdoc? Tell your friends :D

tick.format

originally copied from https://github.com/dm3/clojure.java-time
raw docstring

formatclj/s

(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.
sourceraw docstring

formatterclj/s

(formatter fmt)
(formatter fmt locale)

Constructs a DateTimeFormatter out of either a

  • format string - "YYYY/mm/DD" "YYY HH:MM" etc. or
  • formatter name - :iso-instant :iso-local-date etc

and a Locale, which is optional.

Constructs a DateTimeFormatter out of either a

* format string - "YYYY/mm/DD" "YYY HH:MM" etc.
or
* formatter name - :iso-instant :iso-local-date etc

and a Locale, which is optional.
sourceraw docstring

predefined-formattersclj/s

source

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

× close