Liking cljdoc? Tell your friends :D

com.yetanalytics.persephone.utils.time

Functions for date and time.

Functions for date and time.
raw docstring

compare-timestampsclj/s

(compare-timestamps t1 t2)

Returns a negative number if t1 occurs before t2, a positive number if t1 occurs after t2, and 0 otherwise. t1 and t2 must be ISO 8601 timestamp strings.

Returns a negative number if `t1` occurs before `t2`, a positive
number if `t1` occurs after `t2`, and 0 otherwise. `t1` and `t2`
must be ISO 8601 timestamp strings.
sourceraw docstring

compare-timestamps*clj/s

(compare-timestamps* t1 t2)

Same as compare-timestamps but assumes t1 and t2 are already parsed.

Same as `compare-timestamps` but assumes `t1` and `t2` are
already parsed.
sourceraw docstring

parse-timestampclj/s

(parse-timestamp s)

Parse the ISO 8601 timestamp s.

Parse the ISO 8601 timestamp `s`.
sourceraw docstring

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

× close