Liking cljdoc? Tell your friends :D

e85th.commons.time


addclj

(add unit-fn n date)

Adds

Adds 
sourceraw docstring

add-daysclj

source

add-one-dayclj

source

date->strclj

(date->str dt)

DateTime formatted to year-month-day ie 2016-08-03

DateTime formatted to year-month-day ie 2016-08-03
sourceraw docstring

date-time?clj

(date-time? x)
source

deconstructclj

Answers with a seq of the constitutents of the date time. [year month day hour minute second ms]

Answers with a seq of the constitutents of the date time. [year month day  hour minute second ms]
sourceraw docstring

formatter?clj

(formatter? x)
source

interval->duration-componentsclj

(interval->duration-components i)
(interval->duration-components t1 t2)

Given an interval returns a 5 tuple of integers representing [days hours minutes secs millis]

Given an interval returns a 5 tuple of integers representing
[days hours minutes secs millis]
sourceraw docstring

interval->humanized-stringclj

(interval->humanized-string i)
(interval->humanized-string t1 t2)

Given an interval returns a 5 tuple of integers representing [days hours minutes secs millis]

Given an interval returns a 5 tuple of integers representing
[days hours minutes secs millis]
sourceraw docstring

millis->duration-componentsclj

(millis->duration-components millis)
source

one-day-agoclj

(one-day-ago)
source

ts->strclj

(ts->str dt)
source

with-zone-retain-fieldsclj

(with-zone-retain-fields date timezone)

Gets the equivalent UTC DateTime if the timezone were changed to timezone. Use to turn 2017-12-11T18:00:00Z and you want to UTC equivalent. date is DateTime and timezone is DateTimeZone.

Gets the equivalent UTC DateTime if the timezone were changed to timezone.
Use to turn 2017-12-11T18:00:00Z and you want to
UTC equivalent. `date` is DateTime and `timezone` is DateTimeZone.
sourceraw docstring

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

× close