(bounded-time? bounds date-time)
Is date-time
within any of the bounds
? Returns vacuously true
if
bounds
is empty.
Is `date-time` within any of the `bounds`? Returns vacuously `true` if `bounds` is empty.
(day-of-month? year month day)
Is day
a valid day within each month? i.e. 28
is valid for 2
(i.e. February) but not 30
. 29
is valid for 2
if year
is a
leap year, but not otherwise.
Is `day` a valid day within each month? i.e. `28` is valid for `2` (i.e. February) but not `30`. `29` is valid for `2` if `year` is a leap year, but not otherwise.
(day-of-week year month day)
Return the day of week, from 0
(Sunday) to 6
(Saturday),
of the date year
/month
/day
.
Return the day of week, from `0` (Sunday) to `6` (Saturday), of the date `year`/`month`/`day`.
(next-bounded-time bounds date-time)
Returns the next timestamp after date-time
within any of the bounds
.
Returns the next timestamp after `date-time` within any of the `bounds`.
(time-map date-time)
Return a map of different times from the LocalDateTime date-time
.
Return a map of different times from the LocalDateTime `date-time`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close