(<< temporal temporal-amount)
(<< temporal amount temporal-property)
move a temporal backward by an amount
move a temporal backward by an amount
(>> temporal temporal-amount)
(>> temporal amount temporal-property)
move a temporal forward by an amount
move a temporal forward by an amount
(clock-fixed zdt)
(clock-fixed instant zone-str)
create a stopped clock
create a stopped clock
(clock-offset-millis a-clock offset-millis)
offset an existing clock by offset-millis
offset an existing clock by offset-millis
(clock-system-default-zone)
a ticking clock having the ambient zone.
a ticking clock having the ambient zone.
(clock-with-timezone timezone)
ticking clock in given timezone
ticking clock in given timezone
(clock-zdt-atom zdt-atom)
create a clock which will dereference the zdt-atom.
The caller must first construct the atom and by keeping a reference to it, may change its value and therefore the value of the clock.
create a clock which will dereference the zdt-atom. The caller must first construct the atom and by keeping a reference to it, may change its value and therefore the value of the clock.
(date+time date time)
create a datetime
create a datetime
(date-next-or-same-weekday date desired-dow-number)
(date-prev-or-same-weekday date desired-dow-number)
(datetime+timezone datetime timezone)
create a zdt
create a zdt
(enable-comparison-for-all-temporal-entities)
in cljs envs, this makes =
, compare
and hash
work on the value of Temporal entities.
It is optional, so that if this behaviour is not required, the resulting build size can be reduced.
in cljs envs, this makes `=`, `compare` and `hash` work on the value of Temporal entities. It is optional, so that if this behaviour is not required, the resulting build size can be reduced.
(instant+timezone instant timezone)
create a zdt
create a zdt
(max arg & args)
Find the latest of the given arguments. Callers should ensure that no argument is nil.
Find the latest of the given arguments. Callers should ensure that no argument is nil.
(min arg & args)
Find the earliest of the given arguments. Callers should ensure that no argument is nil.
Find the earliest of the given arguments. Callers should ensure that no argument is nil.
(monthday+year monthday year)
create a date
create a date
(throw-if-months-or-years-in-amount temporal temporal-amount)
(throw-if-set-months-or-years temporal temporal-property)
(time+date time date)
create a datetime
create a datetime
(truncate temporal property)
zero property field and below of temporal
zero property field and below of temporal
(with temporal value property)
from temporal arg, derive a new temporal object with property field set to value (t/with date 3 t/days-property)
from temporal arg, derive a new temporal object with property field set to value (t/with date 3 t/days-property)
(yearmonth+day-at-end-of-month ym)
create a date having last day of month
create a date having last day of month
(yearmonth+day-of-month yearmonth day)
create a date
create a date
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close