Liking cljdoc? Tell your friends :D

tick.core


*clock*clj/s

source

<<clj/s

(<< t n-or-d)
source

>>clj/s

(>> t n-or-d)
source

advanceclj/s

(advance clk)
(advance clk dur)
source

agoclj/s

(ago dur)
source

atomclj/s

(atom)
(atom clk)
source

AtomicClockclj/s

source

clock?clj/s

(clock? v)
source

coincident?clj/s

(coincident? t event)

Does the span of time contain the given event? If the given event is itself a span, then t must wholly contain the beginning and end of the event.

Does the span of time contain the given event? If the given event
is itself a span, then t must wholly contain the beginning and end
of the event.
sourceraw docstring

compare-and-set!clj/s

(compare-and-set! at oldval newval)
source

current-clockclj/s

(current-clock)
source

current-zoneclj/s

(current-zone)

Return the current zone, which can be overridden by the clock dynamic var

Return the current zone, which can be overridden by the *clock* dynamic var
sourceraw docstring

date-time?clj/s

(date-time? v)
source

date?clj/s

(date? v)
source

day-of-week-in-monthclj/s

(day-of-week-in-month ordinal dow)
(day-of-week-in-month t ordinal dow)
source

day-of-week?clj/s

(day-of-week? v)
source

decclj/s

(dec t)
source

durationclj/s

(duration x)
source

duration?clj/s

(duration? v)
source

epochclj/s

(epoch)
source

field-mapclj/s

source

fieldsclj/s

(fields t)
source

FieldsLookupcljs

source

first-day-of-monthclj/s

(first-day-of-month)
(first-day-of-month t)
source

first-day-of-next-monthclj/s

(first-day-of-next-month)
(first-day-of-next-month t)
source

first-day-of-next-yearclj/s

(first-day-of-next-year)
(first-day-of-next-year t)
source

first-day-of-yearclj/s

(first-day-of-year)
(first-day-of-year t)
source

first-in-monthclj/s

(first-in-month dow)
(first-in-month t dow)
source

greaterclj/s

(greater x y)
source

henceclj/s

(hence dur)
source

IBetweenclj/sprotocol

betweenclj/s

(between v1 v2)

Return the duration (or period) between two times

Return the duration (or period) between two times
source

IClockclj/sprotocol

clockclj/s

(clock _)

Make a clock

Make a clock
source

IConversionclj/sprotocol

instclj/s

(inst _)

Make a java.util.Date instance.

Make a java.util.Date instance.

instantclj/s

(instant _)

Make a java.time.Instant instance.

Make a java.time.Instant instance.

offset-date-timeclj/s

(offset-date-time _)

Make a java.time.OffsetDateTime instance.

Make a java.time.OffsetDateTime instance.

zoned-date-timeclj/s

(zoned-date-time _)

Make a java.time.ZonedDateTime instance.

Make a java.time.ZonedDateTime instance.
source

IDivisibleclj/sprotocol

divideclj/s

(divide t divisor)

Divide time

Divide time
source

IDivisibleDurationclj/sprotocol

divide-durationclj/s

(divide-duration divisor duration)

Divide a duration

Divide a duration
source

IExtractionclj/sprotocol

minuteclj/s

(minute _)

Return the minute field of the given time

Return the minute field of the given time

dateclj/s

(date _)

Make a java.time.LocalDate instance.

Make a java.time.LocalDate instance.

hourclj/s

(hour _)

Return the hour field of the given time

Return the hour field of the given time

longclj/s

(long _)

Return value as long

Return value as long

date-timeclj/s

(date-time _)

Make a java.time.LocalDateTime instance.

Make a java.time.LocalDateTime instance.

zone-offsetclj/s

(zone-offset _)

Make a java.time.ZoneOffset instance.

Make a java.time.ZoneOffset instance.

intclj/s

(int _)

Return value as integer

Return value as integer

secondclj/s

(second _)

Return the second field of the given time

Return the second field of the given time

zoneclj/s

(zone _)

Make a java.time.ZoneId instance.

Make a java.time.ZoneId instance.

day-of-weekclj/s

(day-of-week _)

Make a java.time.DayOfWeek instance.

Make a java.time.DayOfWeek instance.

timeclj/s

(time _)

Make a java.time.LocalTime instance.

Make a java.time.LocalTime instance.

monthclj/s

(month _)

Make a java.time.Month instance.

Make a java.time.Month instance.

nanosecondclj/s

(nanosecond _)

Return the millisecond field of the given time

Return the millisecond field of the given time

day-of-monthclj/s

(day-of-month _)

Return value of the day in the month as an integer.

Return value of the day in the month as an integer.

yearclj/s

(year _)

Make a java.time.Year instance.

Make a java.time.Year instance.

millisecondclj/s

(millisecond _)

Return the millisecond field of the given time

Return the millisecond field of the given time

year-monthclj/s

(year-month _)

Make a java.time.YearMonth instance.

Make a java.time.YearMonth instance.

microsecondclj/s

(microsecond _)

Return the millisecond field of the given time

Return the millisecond field of the given time
source

ILocalTimeclj/sprotocol

local?clj/s

(local? t)

Is the time a java.time.LocalTime or java.time.LocalDateTime?

Is the time a java.time.LocalTime or java.time.LocalDateTime?
source

incclj/s

(inc t)
source

instant?clj/s

(instant? v)
source

interval?clj/s

(interval? v)
source

IParseableclj/sprotocol

parseclj/s

(parse _)

Parse to most applicable instance.

Parse to most applicable instance.
source

ITimeArithmeticclj/sprotocol

+clj/s

(+ t d)

Add to time

Add to time

-clj/s

(- t d)

Subtract from time, or negate

Subtract from time, or negate
source

ITimeComparisonclj/sprotocol

<clj/s

(< x y)

Is x before y?

Is x before y?

<=clj/s

(<= x y)

Is x before or at the same time as y?

Is x before or at the same time as y?

>clj/s

(> x y)

Is x after y?

Is x after y?

>=clj/s

(>= x y)

Is x after or at the same time as y?

Is x after or at the same time as y?
source

ITimeLengthclj/sprotocol

minutesclj/s

(minutes _)

Return the given quantity in minutes.

Return the given quantity in minutes.

millisclj/s

(millis _)

Return the given quantity in milliseconds.

Return the given quantity in milliseconds.

nanosclj/s

(nanos _)

Return the given quantity in nanoseconds.

Return the given quantity in nanoseconds.

monthsclj/s

(months _)

Return the given quantity in months.

Return the given quantity in months.

daysclj/s

(days _)

Return the given quantity in days.

Return the given quantity in days.

secondsclj/s

(seconds _)

Return the given quantity in seconds.

Return the given quantity in seconds.

microsclj/s

(micros _)

Return the given quantity in microseconds.

Return the given quantity in microseconds.

hoursclj/s

(hours _)

Return the given quantity in hours.

Return the given quantity in hours.

yearsclj/s

(years _)

Return the given quantity in years.

Return the given quantity in years.
source

ITimeRangeableclj/sprotocol

rangeclj/s

(range from)
(range from to)
(range from to step)

Returns a lazy seq of times from start (inclusive) to end (exclusive, nil means forever), by step, where start defaults to 0, step to 1, and end to infinity.

Returns a lazy seq of times from start (inclusive) to end (exclusive, nil means forever), by step, where start defaults to 0, step to 1, and end to infinity.
source

ITimeReifyclj/sprotocol

atclj/s

(at date time)

Set date to be AT a time

Set date to be AT a time

inclj/s

(in dt zone)

Set a date-time to be in a time-zone

Set a date-time to be in a time-zone

offset-byclj/s

(offset-by dt amount)

Set a date-time to be offset by an amount

Set a date-time to be offset by an amount

onclj/s

(on time date)

Set time be ON a date

Set time be ON a date
source

ITimeShiftclj/sprotocol

backward-durationclj/s

(backward-duration _ d)

Decrement time

Decrement time

backward-numberclj/s

(backward-number _ n)

Decrement time

Decrement time

forward-durationclj/s

(forward-duration _ d)

Increment time

Increment time

forward-numberclj/s

(forward-number _ n)

Increment time

Increment time
source

ITimeSpanclj/sprotocol

beginningclj/s

(beginning _)

Return the beginning of a span of time

Return the beginning of a span of time

endclj/s

(end _)

Return the end of a span of time

Return the end of a span of time
source

last-day-of-monthclj/s

(last-day-of-month)
(last-day-of-month t)
source

last-day-of-yearclj/s

(last-day-of-year)
(last-day-of-year t)
source

last-in-monthclj/s

(last-in-month dow)
(last-in-month t dow)
source

lesserclj/s

(lesser x y)
source

maxclj/s

(max arg & args)
source

midnightclj/s

(midnight)
(midnight date)
source

midnight?clj/s

(midnight? t)
source

minclj/s

(min arg & args)
source

MinMaxclj/sprotocol

max-of-typeclj/s

(max-of-type _)

Return the max

Return the max

min-of-typeclj/s

(min-of-type _)

Return the min

Return the min
source

minus_clj/s

(minus_ d)
(minus_ t d)
source

month?clj/s

(month? v)
source

negatedclj/s

(negated d)

Return the duration as a negative duration

Return the duration as a negative duration
sourceraw docstring

new-dateclj/s

(new-date)
(new-date epoch-day)
(new-date year day-of-year)
(new-date year month day-of-month)
source

new-durationclj/s

(new-duration n u)
source

new-periodclj/s

(new-period n u)
source

new-timeclj/s

(new-time)
(new-time hour minute)
(new-time hour minute second)
(new-time hour minute second nano)
source

nextclj/s

(next dow)
(next t dow)
source

next-or-sameclj/s

(next-or-same dow)
(next-or-same t dow)
source

noonclj/s

(noon)
(noon date)
source

nowclj/s

(now)
source

offset-date-time?clj/s

(offset-date-time? v)
source

parse-dayclj/s

(parse-day input)
source

parse-intclj/s

(parse-int x)
source

parse-monthclj/s

(parse-month input)
source

period?clj/s

(period? v)
source

previousclj/s

(previous dow)
(previous t dow)
source

previous-or-sameclj/s

(previous-or-same dow)
(previous-or-same t dow)
source

reset!clj/s

(reset! at newval)
source

reset-vals!clj/s

(reset-vals! at newval)
source

reverse-unit-mapclj/s

source

swap!clj/s

(swap! at f & args)
source

swap-vals!clj/s

(swap-vals! at f & args)
source

time?clj/s

(time? v)
source

todayclj/s

(today)
source

tomorrowclj/s

(tomorrow)
source

truncateclj/s

(truncate x u)
source

unit-mapclj/s

source

unitsclj/s

(units x)
source

withclj/s

(with t adj)
(with t fld new-value)

Adjust a temporal with an adjuster or field

Adjust a temporal with an adjuster or field
sourceraw docstring

year-month?clj/s

(year-month? v)
source

year?clj/s

(year? v)
source

yesterdayclj/s

(yesterday)
source

zone-offset?clj/s

(zone-offset? v)
source

zone?clj/s

(zone? v)
source

zoned-date-time?clj/s

(zoned-date-time? v)
source

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

× close