The Month: the month a charge refers to, the way a person says it ("the July 2026 instalment"). A MONTH, never an instant.
A month written as 01T00:00Z and read at UTC-3 shows the PREVIOUS month -- which is the whole reason a month is not an instant.
Map keys are the generic English names (:year :month).
The Month: the month a charge refers to, the way a person says it ("the
July 2026 instalment"). A MONTH, never an instant.
A month written as 01T00:00Z and read at UTC-3 shows the PREVIOUS month --
which is the whole reason a month is not an instant.
Map keys are the generic English names (:year :month).(->month year month)Validating constructor. Impossible first (month outside 1..12), then the year range: outside 1900..2199 -> :time/month-out-of-range.
Validating constructor. Impossible first (month outside 1..12), then the year range: outside 1900..2199 -> :time/month-out-of-range.
(add-months m n)TOTAL month arithmetic: m0 = year*12 + month-1 + n.
TOTAL month arithmetic: m0 = year*12 + month-1 + n.
(first-day m)The first Day of the month.
The first Day of the month.
(month? x)True when x is structurally a valid Month. Never throws.
True when `x` is structurally a valid Month. Never throws.
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 |