calendar-windows is a transducer over consecutive input records. Supported keys are :date, :day, :month, :quarter, :year, and :iso-week. The input order is preserved, so unsorted input can produce multiple windows for the same calendar key.
(into [] (q/calendar-windows :month) date-records)
Each output is a vector of source records. This operation buffers only the current consecutive window.
Can you improve this documentation?Edit on GitHub
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 |