Liking cljdoc? Tell your friends :D

java-time.adjuster


adjust

(adjust entity adjuster & args)

Adjusts the temporal entity using the provided adjuster with optional args.

The adjuster should either be a keyword which resolves to one of the predefined adjusters (see java-time.repl/show-adjusters) an instance of TemporalAdjuster or a function which returns another temporal entity when applied to the given one:

(adjust (local-date 2015 1 1) :next-working-day) => nil

(adjust (local-date 2015 1 1) :first-in-month :monday) => nil

(adjust (local-date 2015 1 1) plus (days 1)) => nil

Adjusts the temporal `entity` using the provided `adjuster` with optional `args`.

The adjuster should either be a keyword which resolves to one of the
predefined adjusters (see `java-time.repl/show-adjusters`) an instance of
`TemporalAdjuster` or a function which returns another temporal entity when
applied to the given one:

  (adjust (local-date 2015 1 1) :next-working-day)
  => nil

  (adjust (local-date 2015 1 1) :first-in-month :monday)
  => nil

  (adjust (local-date 2015 1 1) plus (days 1))
  => nil
sourceraw docstring

base-adjusters

source

extra-adjusters

source

predefined-adjusters

source

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

× close