Civil-date sources and small YearMonth helpers. All ranges are inclusive.
Civil-date sources and small YearMonth helpers. All ranges are inclusive.
(blank-grid {:keys [rows columns week-start] :or {week-start :monday}})Create date-free structural cells for a fixed rows-by-columns grid.
Create date-free structural cells for a fixed rows-by-columns grid.
(date-range start end)Lazy inclusive sequence of LocalDate values from start through end.
Lazy inclusive sequence of LocalDate values from start through end.
(local-date x)Coerce an ISO-8601 date string or LocalDate to LocalDate.
Coerce an ISO-8601 date string or LocalDate to LocalDate.
(month-range start end)Lazy inclusive sequence of YearMonth values from start through end.
Lazy inclusive sequence of YearMonth values from start through end.
(project-month month)(project-month month
{:keys [week-start adjacent-days]
:or {week-start :monday adjacent-days :include}})Return an immutable grid projection for a month. Adjacent cells can be included (default), excluded (their :date is nil), or omitted.
Return an immutable grid projection for a month. Adjacent cells can be included (default), excluded (their :date is nil), or omitted.
(reducible-date-range start end)Inclusive reducible LocalDate range. Supports reduce, transduce and into.
Inclusive reducible LocalDate range. Supports reduce, transduce and into.
(year-month x)Coerce a YearMonth or YYYY-MM string to YearMonth.
Coerce a YearMonth or YYYY-MM string to YearMonth.
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 |