Liking cljdoc? Tell your friends :D

hive-ttracking.time.period

The Period: a CLOSED interval of days, "from 01/11 to 25/11", both ends included. Half-open is a property of the interval of INSTANTS a Period becomes under a zone, never of the Period.

Both ends are required: a missing end is a REFUSAL, never an open interval -- it is not "up to today".

Map keys are the generic English names (:start :end).

The Period: a CLOSED interval of days, "from 01/11 to 25/11", both ends
included. Half-open is a property of the interval of INSTANTS a Period
becomes under a zone, never of the Period.

Both ends are required: a missing end is a REFUSAL, never an open interval --
it is not "up to today".

Map keys are the generic English names (:start :end).
raw docstring

->periodclj/s

(->period start end)

Validating constructor: a nil end -> :time/period-missing-bound; start > end -> :time/period-inverted.

Validating constructor: a nil end -> :time/period-missing-bound; start >
end -> :time/period-inverted.
sourceraw docstring

current-monthclj/s

(current-month today)

The period from the first day of today's month up to today.

The period from the first day of `today`'s month up to `today`.
sourceraw docstring

daysclj/s

(days p)

How many days the period covers, ends included.

How many days the period covers, ends included.
sourceraw docstring

period?clj/s

(period? x)

True when x is a valid Period. Never throws.

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

previous-monthclj/s

(previous-month today)

The previous full month, from its first to its last day.

The previous full month, from its first to its last day.
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