Liking cljdoc? Tell your friends :D

datemath.core


calc-dateclj

(calc-date text)

Transform a date math in an date calculated

Transform a date math in an date calculated
sourceraw docstring

extract-operationsclj

(extract-operations text)

Split a full text to operations text parts. Ignore unexpected parts.

Split a full text to operations text parts. Ignore unexpected parts.
sourceraw docstring

first-day-of-week-adjusterclj

source

from-stringclj

(from-string date-string)

Parse a ISO datestring to zoned date time.

Parse a ISO datestring to zoned date time.
sourceraw docstring

make-divclj

(make-div unit)

Make a function to round to some unit. Expect input unit like 'W'. Return a function that take an instant and return it rounded.

Make a function to round to some unit. 
Expect input unit like 'W'.
Return a function that take an instant and return it rounded.
sourceraw docstring

make-opclj

(make-op part op)

Make a function to operate on some unit. Expect input like '1d' and a function. Return a function that take an instant and apply the operation.

Make a function to operate on some unit. 
Expect input like '1d' and a function.
Return a function that take an instant and apply the operation.
sourceraw docstring

nowclj

(now)

Return now, zoned date and time.

Return now, zoned date and time.
sourceraw docstring

operations-to-instantclj

(operations-to-instant acc op)

Reduce instant operations

Reduce instant operations
sourceraw docstring

parts-to-operationsclj

(parts-to-operations part)

Transform text operation in a function

Transform text operation in a function
sourceraw docstring

parts-to-operations-0clj

(parts-to-operations-0 part)
source

text-to-partsclj

(text-to-parts text)

Get initial date and operations

Get initial date and operations
sourceraw docstring

to-stringclj

(to-string date-time)

Return an ISO string of the given date

Return an ISO string of the given date
sourceraw docstring

unit-to-truncateclj

source

unit-to-unitclj

source

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

× close