Encode java.time values as strings that can be written as JSON, and decode them again unchanged. Dates and times are ISO-8601 strings, whose form tells which kind they are:
2026-12-01 java.time.LocalDate 2026-12-01T17:00 java.time.LocalDateTime 2026-12-01T17:00:00Z java.time.Instant 2026-12-01T17:00-06:00[America/Chicago] java.time.ZonedDateTime
Encode java.time values as strings that can be written as JSON, and decode them again unchanged. Dates and times are ISO-8601 strings, whose form tells which kind they are: 2026-12-01 java.time.LocalDate 2026-12-01T17:00 java.time.LocalDateTime 2026-12-01T17:00:00Z java.time.Instant 2026-12-01T17:00-06:00[America/Chicago] java.time.ZonedDateTime
(decode-time s)(encode-time t)Writes a ZonedDateTime with its zone ID in brackets even when the zone is an offset, which toString leaves out, so that it can't be mistaken for an Instant.
Writes a ZonedDateTime with its zone ID in brackets even when the zone is an offset, which toString leaves out, so that it can't be mistaken for an Instant.
(update-keys-in m ks f)Updates each of the keys the map has with f.
Updates each of the keys the map has with f.
(update-some m k f)Updates the key with f only when the map has it.
Updates the key with f only when the map has it.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |