Liking cljdoc? Tell your friends :D

hive-ttracking.time.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).

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).
raw docstring

->monthclj/s

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

add-monthsclj/s

(add-months m n)

TOTAL month arithmetic: m0 = year*12 + month-1 + n.

TOTAL month arithmetic: m0 = year*12 + month-1 + n.
sourceraw docstring

first-dayclj/s

(first-day m)

The first Day of the month.

The first Day of the month.
sourceraw docstring

last-dayclj/s

(last-day m)

The last Day of the month.

The last Day of the month.
sourceraw docstring

month-of-dayclj/s

(month-of-day d)

The Month of a Day.

The Month of a Day.
sourceraw docstring

month?clj/s

(month? x)

True when x is structurally a valid Month. Never throws.

True when `x` is structurally a valid Month. Never throws.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close