Return an interval which forms the bounding-box of the given arguments.
Return an interval which forms the bounding-box of the given arguments.
(clock? v)
Return whether the provided value v
is a clock
Return whether the provided value `v` is a clock
(date-time? v)
Return whether the provided value v
is a date time
Return whether the provided value `v` is a date time
(date? v)
Return whether the provided value v
is a date
Return whether the provided value `v` is a date
(day-of-week? v)
Return whether the provided value v
is a day of the week
Return whether the provided value `v` is a day of the week
(duration? v)
Return whether the provided value v
is a duration
Return whether the provided value `v` is a duration
(formatter fmt)
(formatter fmt locale)
Constructs a DateTimeFormatter out of either a
Constructs a DateTimeFormatter out of either a * format string - "YYYY/mm/DD" "YYY HH:MM" etc. or * formatter name - :iso-instant :iso-date etc
(instant? v)
Return whether the provided value v
is an instant
Return whether the provided value `v` is an instant
(interval? v)
Return whether the provided value v
is an interval
Return whether the provided value `v` is an interval
(month? v)
Return whether the provided value v
is a month
Return whether the provided value `v` is a month
(offset-date-time? v)
Return whether the provided value v
is an offset date time
Return whether the provided value `v` is an offset date time
Do not use this function if you know the expected format of the string that you want to parse. This is partly because for example t/instant, t/date etc will be much faster, but also because if the string you pass it is not in the format you expect, this function may still convert it into some entity that you weren't expecting.
If you have a string in a non-standard format, use a formatter and the parse fn of they entity you want.
For example:
(cljc.java-time.local-date/parse "20200202" (t/formatter "yyyyMMdd"))
Do not use this function if you know the expected format of the string that you want to parse. This is partly because for example t/instant, t/date etc will be much faster, but also because if the string you pass it is not in the format you expect, this function may still convert it into some entity that you weren't expecting. If you have a string in a non-standard format, use a formatter and the parse fn of they entity you want. For example: (cljc.java-time.local-date/parse "20200202" (t/formatter "yyyyMMdd"))
(period? v)
Return whether the provided value v
is a period
Return whether the provided value `v` is a period
(time? v)
Return whether the provided value v
is a time
Return whether the provided value `v` is a time
(year-month? v)
Return whether the provided value v
is a year month
Return whether the provided value `v` is a year month
(year? v)
Return whether the provided value v
is a year
Return whether the provided value `v` is a year
(zone-offset offset)
(zone-offset hours minutes)
(zone-offset hours minutes seconds)
(zone-offset? v)
Return whether the provided value v
is a zone offset
Return whether the provided value `v` is a zone offset
(zone? v)
Return whether the provided value v
is a zone time zone
Return whether the provided value `v` is a zone time zone
(zoned-date-time? v)
Return whether the provided value v
is a zoned date time
Return whether the provided value `v` is a zoned date time
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close