(duration)
(duration arg_1_3362)
(duration arg_1_3363 arg_2_3364)
Creates a duration - a temporal entity representing standard days, hours, minutes, millis, micros and nanos. The duration itself contains only seconds and nanos as properties.
Given one argument will
TemporalAmount
Given two arguments will
Temporal
s(duration 100 :seconds)
Creates a duration - a temporal entity representing standard days, hours, minutes, millis, micros and nanos. The duration itself contains only seconds and nanos as properties. Given one argument will * interpret as millis if a number * try to parse from the standard format if a string * extract supported units from another `TemporalAmount` * convert from a Joda Period/Duration Given two arguments will * get a duration between two `Temporal`s * get a duration of a specified unit, e.g. `(duration 100 :seconds)`
(duration? v__2432__auto__)
True if an instance of Duration.
True if an instance of Duration.
(hours v__3388__auto__)
Duration of a specified number of hours.
Duration of a specified number of hours.
(micros micros)
Duration of a specified number of microseconds.
Duration of a specified number of microseconds.
(millis v__3388__auto__)
Duration of a specified number of millis.
Duration of a specified number of millis.
(minutes v__3388__auto__)
Duration of a specified number of minutes.
Duration of a specified number of minutes.
(nanos v__3388__auto__)
Duration of a specified number of nanos.
Duration of a specified number of nanos.
(period)
(period arg_1_3422)
(period arg_1_3423 arg_2_3424)
(period arg_1_3425 arg_2_3426 arg_3_3427)
Creates a period - a temporal entity consisting of years, months and days.
Given one argument will
TemporalAmount
Given two arguments will
(period 10 :months)
Given three arguments will create a year/month/day period.
Creates a period - a temporal entity consisting of years, months and days. Given one argument will * interpret as years if a number * try to parse from the standard format if a string * extract supported units from another `TemporalAmount` * convert from a Joda Period Given two arguments will * get a period of a specified unit, e.g. `(period 10 :months)` * get a period between two temporals by converting them to local dates * get a period of a specified number of years and months Given three arguments will create a year/month/day period.
(period? v__2432__auto__)
True if an instance of Period.
True if an instance of Period.
(seconds v__3388__auto__)
Duration of a specified number of seconds.
Duration of a specified number of seconds.
(standard-days v__3388__auto__)
Duration of a specified number of days.
Duration of a specified number of days.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close