Namespace that contains various functions for handling calendar and dates.
Namespace that contains various functions for handling calendar and dates.
(calculate-first-day-of-week calendar)
Calculate first day of week for given date.
Calculate first day of week for given date.
(format-date calendar)
Format given date using the following format: 'yyyy-MM-dd'
Format given date using the following format: 'yyyy-MM-dd'
(format-date-time calendar)
Format given date using the following format: 'yyyy-MM-dd HH:mm:ss'
Format given date using the following format: 'yyyy-MM-dd HH:mm:ss'
(format-date-using-desired-format calendar desired-format)
Format given date using desired format, for example 'yyyy-MM-dd' etc.
Format given date using desired format, for example 'yyyy-MM-dd' etc.
(format-from-to-date-for-week year week)
Return a string containing formatted first and last days of week.
Return a string containing formatted first and last days of week.
(get-calendar)
Gets an instance of calendar using the default time zone and default locale.
Gets an instance of calendar using the default time zone and default locale.
(get-calendar-for-week year week)
Gets a calendar for given year and week.
Gets a calendar for given year and week.
(get-day-of-week calendar)
Returns day of week for given date.
Returns day of week for given date.
(get-first-day-of-week calendar)
Returns first day of given week.
Returns first day of given week.
(get-first-day-of-week-formatted calendar)
Get date of first day of given week formatted as yyyy-mm-dd.
Get date of first day of given week formatted as yyyy-mm-dd.
(get-last-day-of-week calendar)
Return last day of given week.
Return last day of given week.
(get-last-day-of-week-formatted calendar)
Get date of last day of given week formatted as yyyy-mm-dd.
Get date of last day of given week formatted as yyyy-mm-dd.
(get-week calendar)
Returns week number within the current year.
Returns week number within the current year.
(get-year calendar)
Returns the year for the current date.
Returns the year for the current date.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close