Liking cljdoc? Tell your friends :D

jedi-time.datafied.tools


after?clj

(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.
sourceraw docstring

at-offsetclj

(at-offset datafied offset-id)
(at-offset datafied offset-id same)
sourceraw docstring

at-zoneclj

(at-zone datafied zone-id)
(at-zone datafied zone-id same)
sourceraw docstring

before?clj

(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.
sourceraw docstring

same-date?clj

(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.
sourceraw docstring

same-instant?clj

(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).
sourceraw docstring

shift+clj

(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.
sourceraw docstring

shift-clj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close