(after? datafied other)
Returns true if <this> datafied representation is after the <other> - false otherwise. Both arguments are expected to represent the same thing.
Returns true if <this> datafied representation is after the <other> - false otherwise. Both arguments are expected to represent the same thing.
(before? datafied other)
Returns true if <this> datafied representation is before the <other> - false otherwise. Both arguments are expected to represent the same thing.
Returns true if <this> datafied representation is before the <other> - false otherwise. Both arguments are expected to represent the same thing.
(same-date? datafied other)
Returns true if the two datafied representations fall under the same date (year/month/day) - false otherwise. The two arguments are not expected to (necessarily) represent the same thing.
Returns true if the two datafied representations fall under the same date (year/month/day) - false otherwise. The two arguments are not expected to (necessarily) represent the same thing.
(same-instant? datafied other)
(same-instant? datafied other offset)
Returns true if the first two arguments represent exactly the same point-in-time - false otherwise. First two arguments are not expected to (necessarily) represent the same thing. An offset can be provided as the 3rd arg, but will only be used if needed (i.e. for upgrading to Instant).
Returns true if the first two arguments represent exactly the same point-in-time - false otherwise. First two arguments are not expected to (necessarily) represent the same thing. An offset can be provided as the 3rd arg, but will only be used if needed (i.e. for upgrading to Instant).
(shift+ datafied by)
(shift+ datafied [n unit] safe?)
Shifts this datafied representation forward-in-time by:
n - a positive integer
units - see jedi-time.units/chrono-units
keys
By default the shift happens safely (only if unit is supported), in which case may return nil - otherwise may throw.
Shifts this datafied representation forward-in-time by: n - a positive integer units - see `jedi-time.units/chrono-units` keys By default the shift happens safely (only if unit is supported), in which case may return nil - otherwise may throw.
(shift- datafied by)
(shift- datafied [n unit] safe?)
Shifts this datafied representation backward-in-time by:
n - a positive integer
units - see jedi-time.units/chrono-units
keys
By default the shift happens safely (only if unit is supported), in which case may return nil - otherwise may throw.
Shifts this datafied representation backward-in-time by: n - a positive integer units - see `jedi-time.units/chrono-units` keys By default the shift happens safely (only if unit is supported), in which case may return nil - otherwise may throw.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close