Various convenience functions which were deemed worthy.
Various convenience functions which were deemed worthy.
(as-map o)
Converts a period or a partial into a map representation.
A period is converted into a map where keys correspond to names of
DurationFieldTypes
. Only durations supported by the provided period are
included in the result.
A partial is converted into a map where keys correspond to
DateTimeFieldTypes
.
An instant/date-time is converted into a map where keys correspond to
DateTimeFieldTypes
. Every date-time field type will be present in the
result.
Converts a period or a partial into a map representation. A period is converted into a map where keys correspond to names of `DurationFieldTypes`. Only durations supported by the provided period are included in the result. A partial is converted into a map where keys correspond to `DateTimeFieldTypes`. An instant/date-time is converted into a map where keys correspond to `DateTimeFieldTypes`. Every date-time field type will be present in the result.
(days-in G__3026)
(days-in x__3004__auto__ y__3005__auto__)
Number of days in the given period/interval/pair of instants, date-times or partials.
Number of days in the given period/interval/pair of instants, date-times or partials.
(friday? o__3036__auto__)
Returns true if the given instant/date-time/partial with the
dayOfWeek
property represents a friday.
Returns true if the given instant/date-time/partial with the `dayOfWeek` property represents a friday.
(hours-in G__3028)
(hours-in x__3004__auto__ y__3005__auto__)
Number of hours in the given period/interval/pair of instants, date-times or partials. Also handles durations.
Number of hours in the given period/interval/pair of instants, date-times or partials. Also handles durations.
(millis-in G__3034)
(millis-in x__3004__auto__ y__3005__auto__)
Number of millis in the given period/interval/pair of instants, date-times or partials. Also handles durations.
Number of millis in the given period/interval/pair of instants, date-times or partials. Also handles durations.
(minutes-in G__3030)
(minutes-in x__3004__auto__ y__3005__auto__)
Number of minutes in the given period/interval/pair of instants, date-times or partials. Also handles durations.
Number of minutes in the given period/interval/pair of instants, date-times or partials. Also handles durations.
(monday? o__3036__auto__)
Returns true if the given instant/date-time/partial with the
dayOfWeek
property represents a monday.
Returns true if the given instant/date-time/partial with the `dayOfWeek` property represents a monday.
(months-in G__3022)
(months-in x__3004__auto__ y__3005__auto__)
Number of months in the given period/interval/pair of instants, date-times or partials.
Number of months in the given period/interval/pair of instants, date-times or partials.
(saturday? o__3036__auto__)
Returns true if the given instant/date-time/partial with the
dayOfWeek
property represents a saturday.
Returns true if the given instant/date-time/partial with the `dayOfWeek` property represents a saturday.
(seconds-in G__3032)
(seconds-in x__3004__auto__ y__3005__auto__)
Number of seconds in the given period/interval/pair of instants, date-times or partials. Also handles durations.
Number of seconds in the given period/interval/pair of instants, date-times or partials. Also handles durations.
(sunday? o__3036__auto__)
Returns true if the given instant/date-time/partial with the
dayOfWeek
property represents a sunday.
Returns true if the given instant/date-time/partial with the `dayOfWeek` property represents a sunday.
(thursday? o__3036__auto__)
Returns true if the given instant/date-time/partial with the
dayOfWeek
property represents a thursday.
Returns true if the given instant/date-time/partial with the `dayOfWeek` property represents a thursday.
(tuesday? o__3036__auto__)
Returns true if the given instant/date-time/partial with the
dayOfWeek
property represents a tuesday.
Returns true if the given instant/date-time/partial with the `dayOfWeek` property represents a tuesday.
(wednesday? o__3036__auto__)
Returns true if the given instant/date-time/partial with the
dayOfWeek
property represents a wednesday.
Returns true if the given instant/date-time/partial with the `dayOfWeek` property represents a wednesday.
(weekday? dt)
(weekend? dt)
(weeks-in G__3024)
(weeks-in x__3004__auto__ y__3005__auto__)
Number of weeks in the given period/interval/pair of instants, date-times or partials.
Number of weeks in the given period/interval/pair of instants, date-times or partials.
(years-in G__3020)
(years-in x__3004__auto__ y__3005__auto__)
Number of years in the given period/interval/pair of instants, date-times or partials.
Number of years in the given period/interval/pair of instants, date-times or partials.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close