(base-from-ymd year month day)(base-from-ymd year month day {:keys [validate] :or {validate true}})Returns [apoint bpoint cpoint] for a birth date. By default validates calendar dates; pass {:validate false} to skip.
Returns [apoint bpoint cpoint] for a birth date.
By default validates calendar dates; pass {:validate false} to skip.(calculate input)(calculate input {:keys [validate] :or {validate true} :as opts})High-level entry:
High-level entry:
- (calculate "YYYY-MM-DD" {:validate true})
- (calculate {:year 1990 :month 12 :day 31} {:validate true})(calculate-from-base apoint bpoint cpoint)Calculates full Destiny Matrix output from base points apoint/bpoint/cpoint.
Calculates full Destiny Matrix output from base points apoint/bpoint/cpoint.
(calculate-year year)Sum digits of year, then apply reduce-number once.
Sum digits of year, then apply reduce-number once.
(parse-iso-date s)Parses YYYY-MM-DD into [year month day].
Parses YYYY-MM-DD into [year month day].
(reduce-number n)Matches the website behavior: If n > 22, reduce once via (n % 10) + floor(n/10), otherwise keep n.
Matches the website behavior: If n > 22, reduce once via (n % 10) + floor(n/10), otherwise keep n.
(validate-date! year month day)Throws if year/month/day is not a valid calendar date.
Throws if year/month/day is not a valid calendar date.
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 |