Liking cljdoc? Tell your friends :D

clostack.date

Date manipulation functions.

Date manipulation functions.
raw docstring

cloudstack-expires-formatterclj

source

expires-argsclj

(expires-args expiration)
(expires-args expiration now)

Builds the expires argument map. Expiration is in seconds.

A negative expiration meants no expires

Builds the expires argument map. Expiration is in seconds.

A negative expiration meants no expires
sourceraw docstring

formatsclj

source

is-expired?clj

(is-expired? expires)
(is-expired? expires now)

If now is after the expiration, then it's expired.

expiration must be a valid ISO 8061 date and time in UTC format, if the timezone is omitted, then UTC is assumed.

If now is after the expiration, then it's expired.

expiration must be a valid ISO 8061 date and time in UTC format, if the
timezone is omitted, then UTC is assumed.
sourceraw docstring

safe-parseclj

(safe-parse formatter s)

Parse a date time string with the given formatter.

See clj-time.format/parse

Parse a date time string with the given formatter.

See clj-time.format/parse
sourceraw docstring

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

× close