(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.
(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
(day-of-week-in-month ordinal dow)
(day-of-week-in-month t ordinal dow)
(between v1 v2)
Return the duration (or period) between two times
Return the duration (or period) between two times
(inst _)
Make a java.util.Date instance.
Make a java.util.Date instance.
(zoned-date-time _)
Make a java.time.ZonedDateTime instance.
Make a java.time.ZonedDateTime instance.
(instant _)
Make a java.time.Instant instance.
Make a java.time.Instant instance.
(offset-date-time _)
Make a java.time.OffsetDateTime instance.
Make a java.time.OffsetDateTime instance.
(divide-duration divisor duration)
Divide a duration
Divide a duration
(minute _)
Return the minute field of the given time
Return the minute field of the given time
(date _)
Make a java.time.LocalDate instance.
Make a java.time.LocalDate instance.
(hour _)
Return the hour field of the given time
Return the hour field of the given time
(long _)
Return value as long
Return value as long
(date-time _)
Make a java.time.LocalDateTime instance.
Make a java.time.LocalDateTime instance.
(zone-offset _)
Make a java.time.ZoneOffset instance.
Make a java.time.ZoneOffset instance.
(int _)
Return value as integer
Return value as integer
(second _)
Return the second field of the given time
Return the second field of the given time
(zone _)
Make a java.time.ZoneId instance.
Make a java.time.ZoneId instance.
(day-of-week _)
Make a java.time.DayOfWeek instance.
Make a java.time.DayOfWeek instance.
(time _)
Make a java.time.LocalTime instance.
Make a java.time.LocalTime instance.
(month _)
Make a java.time.Month instance.
Make a java.time.Month instance.
(nanosecond _)
Return the millisecond field of the given time
Return the millisecond field of the given time
(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.
(year _)
Make a java.time.Year instance.
Make a java.time.Year instance.
(millisecond _)
Return the millisecond field of the given time
Return the millisecond field of the given time
(year-month _)
Make a java.time.YearMonth instance.
Make a java.time.YearMonth instance.
(microsecond _)
Return the millisecond field of the given time
Return the millisecond field of the given time
(local? t)
Is the time a java.time.LocalTime or java.time.LocalDateTime?
Is the time a java.time.LocalTime or java.time.LocalDateTime?
(parse _)
Parse to most applicable instance.
Parse to most applicable instance.
(+ t d)
Add to time
Add to time
(- t d)
Subtract from time, or negate
Subtract from time, or negate
(< x y)
Is x before y?
Is x before y?
(<= x y)
Is x before or at the same time as y?
Is x before or at the same time as y?
(> x y)
Is x after y?
Is x after y?
(>= x y)
Is x after or at the same time as y?
Is x after or at the same time as y?
(minutes _)
Return the given quantity in minutes.
Return the given quantity in minutes.
(millis _)
Return the given quantity in milliseconds.
Return the given quantity in milliseconds.
(nanos _)
Return the given quantity in nanoseconds.
Return the given quantity in nanoseconds.
(months _)
Return the given quantity in months.
Return the given quantity in months.
(days _)
Return the given quantity in days.
Return the given quantity in days.
(seconds _)
Return the given quantity in seconds.
Return the given quantity in seconds.
(micros _)
Return the given quantity in microseconds.
Return the given quantity in microseconds.
(hours _)
Return the given quantity in hours.
Return the given quantity in hours.
(years _)
Return the given quantity in years.
Return the given quantity in years.
(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.
(in dt zone)
Set a date-time to be in a time-zone
Set a date-time to be in a time-zone
(offset-by dt amount)
Set a date-time to be offset by an amount
Set a date-time to be offset by an amount
(at date time)
Set date to be AT a time
Set date to be AT a time
(on time date)
Set time be ON a date
Set time be ON a date
(backward-duration _ d)
Decrement time
Decrement time
(backward-number _ n)
Decrement time
Decrement time
(forward-duration _ d)
Increment time
Increment time
(forward-number _ n)
Increment time
Increment time
(end _)
Return the end of a span of time
Return the end of a span of time
(beginning _)
Return the beginning of a span of time
Return the beginning of a span of time
(max-of-type _)
Return the max
Return the max
(min-of-type _)
Return the min
Return the min
(negated d)
Return the duration as a negative duration
Return the duration as a negative duration
(new-date)
(new-date epoch-day)
(new-date year day-of-year)
(new-date year month day-of-month)
(new-time)
(new-time hour minute)
(new-time hour minute second)
(new-time hour minute second nano)
(with t adj)
(with t fld new-value)
Adjust a temporal with an adjuster or field
Adjust a temporal with an adjuster or field
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close