clj18n.localization documentation
Localization functionality implemented via the Localization protocol and
various helper functions.
Localization
Localized formatting for objects.
fmt
(fmt obj loc)(fmt obj loc style)
Returns a localized string corresponding to obj in the given locale. Can
optionally be given a style to control how the object is formatted.
loc-comparator
(loc-comparator loc)
Returns a localized Unicode comparator for the given locale.
loc-sort
(loc-sort coll loc)
Sorts the collection using a localized Unicode comparator.
parse-date
(parse-date s loc)(parse-date s loc style)
Attempts to parse s as a java.util.Date according to the format indicated by
the given locale and an optional style.
parse-num
(parse-num s loc)(parse-num s loc style)
Attempts to parse s as a java.Util.Number according to the format indicated by
by the given locale and an optional style.