Liking cljdoc? Tell your friends :D

tick.core


*clock*clj

source

<clj

(< x y)
source

>clj

(> x y)
source

atclj

(at date time)
source

epochclj

(epoch)
source

IAtZonecljprotocol

at-zoneclj

(at-zone t zone)

Put time at zone

Put time at zone

to-localclj

(to-local t)
(to-local t zone)

Convert to local time at zone.

Convert to local time at zone.
source

IConstructorscljprotocol

dateclj

(date _)

Make a java.time.LocalDate instance.

Make a java.time.LocalDate instance.

dayclj

(day _)

Make a java.time.DayOfWeek instance.

Make a java.time.DayOfWeek instance.

longclj

(long _)

Return value as long

Return value as long

instclj

(inst _)

Make a java.util.Date instance.

Make a java.util.Date instance.

zoned-date-timeclj

(zoned-date-time _)

Make a java.time.ZonedDateTime instance.

Make a java.time.ZonedDateTime instance.

intclj

(int _)

Return value as integer

Return value as integer

instantclj

(instant _)

Make a java.time.Instant instance.

Make a java.time.Instant instance.

offset-date-timeclj

(offset-date-time _)

Make a java.time.OffsetDateTime instance.

Make a java.time.OffsetDateTime instance.

zoneclj

(zone _)

Make a java.time.ZoneId instance.

Make a java.time.ZoneId instance.

monthclj

(month _)

Make a java.time.Month instance.

Make a java.time.Month instance.

day-of-monthclj

(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

(year _)

Make a java.time.Year instance.

Make a java.time.Year instance.

year-monthclj

(year-month _)

Make a java.time.YearMonth instance.

Make a java.time.YearMonth instance.
source

IDurationcljprotocol

minutesclj

(minutes _)

Return the given quantity in minutes.

Return the given quantity in minutes.

millisclj

(millis _)

Return the given quantity in milliseconds.

Return the given quantity in milliseconds.

weeksclj

(weeks _)

Return the given quantity in weeks.

Return the given quantity in weeks.

nanosclj

(nanos _)

Return the given quantity in nanoseconds.

Return the given quantity in nanoseconds.

monthsclj

(months _)

Return the given quantity in approximate months.

Return the given quantity in approximate months.

daysclj

(days _)

Return the given quantity in days.

Return the given quantity in days.

secondsclj

(seconds _)

Return the given quantity in seconds.

Return the given quantity in seconds.

hoursclj

(hours _)

Return the given quantity in hours.

Return the given quantity in hours.

yearsclj

(years _)

Return the given quantity in approximate years.

Return the given quantity in approximate years.
source

IDurationCoercioncljprotocol

durationclj

(duration _)
(duration _ _)

Return the duration of the given value, or between a pair of values, if appropriate.

Return the duration of the given value, or between a pair of values, if appropriate.
source

IParseablecljprotocol

parseclj

(parse _)

Parse to most applicable instance.

Parse to most applicable instance.
source

ITimecljprotocol

local?clj

(local? t)

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

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

timeclj

(time s)

Constructor of an instant, inst, java.time.LocalTime or java.time.LocalDateTime?

Constructor of an instant, inst, java.time.LocalTime or java.time.LocalDateTime?
source

ITimeArithmeticcljprotocol

+clj

(+ _ _)

Add time

Add time

-clj

(- _ _)

Subtract time

Subtract time

decclj

(dec _)

Decrement time

Decrement time

incclj

(inc _)

Increment time

Increment time

maxclj

(max _ _)

Return maximum

Return maximum

minclj

(min _ _)

Return minimum

Return minimum

rangeclj

(range _)
(range _ _)
(range _ _ _)

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

ITimeRangecljprotocol

endclj

(end _)

Return the end of a time period.

Return the end of a time period.

startclj

(start _)

Return the start of a time period.

Return the start of a time period.
source

midnightclj

(midnight date)
source

midnight?clj

(midnight? t)
source

MinMaxcljprotocol

max-of-typeclj

(max-of-type _)

Return the max

Return the max

min-of-typeclj

(min-of-type _)

Return the min

Return the min
source

noonclj

(noon date)
source

nowclj

(now)
source

onclj

(on time date)
source

parse-dayclj

(parse-day input)
source

parse-monthclj

(parse-month input)
source

todayclj

(today)
source

tomorrowclj

(tomorrow)
source

yesterdayclj

(yesterday)
source

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

× close