(date-after-n-trading-days date n)The date n trading days after date in the dataset, or the dataset's
last date if fewer than n remain.
The date n trading days after `date` in the dataset, or the dataset's last date if fewer than n remain.
(get-next-date)Returns the next date without actually moving the counter.
Returns the next date without actually moving the counter.
(get-prev-n-date n)Returns the date of the previous n valid days.
E.g. prev 1 of 1973-02-04 may be 1973-02-03 or 1973-02-02 or even 1973-02-01.
Returns the date of the previous n valid days. E.g. prev 1 of 1973-02-04 may be 1973-02-03 or 1973-02-02 or even 1973-02-01.
(init-date _date)Initialize the current date as input date.
If the input not in dataset, will go to the closest smaller date (if any, otherwise closest larger date).
Return the resultant date.
Initialize the current date as input date. If the input not in dataset, will go to the closest smaller date (if any, otherwise closest larger date). Return the resultant 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 |