Liking cljdoc? Tell your friends :D

clj-calendar.calendar

Namespace that contains various functions for handling calendar and dates.

Namespace that contains various functions for handling calendar and dates.
raw docstring

calculate-first-day-of-weekclj

(calculate-first-day-of-week calendar)

Calculate first day of week for given date.

Calculate first day of week for given date.
sourceraw docstring

format-dateclj

(format-date calendar)

Format given date using the following format: 'yyyy-MM-dd'

Format given date using the following format: 'yyyy-MM-dd'
sourceraw docstring

format-date-timeclj

(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'
sourceraw docstring

format-date-using-desired-formatclj

(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.
sourceraw docstring

format-from-to-date-for-weekclj

(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.
sourceraw docstring

get-calendarclj

(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.
sourceraw docstring

get-calendar-for-weekclj

(get-calendar-for-week year week)

Gets a calendar for given year and week.

Gets a calendar for given year and week.
sourceraw docstring

get-day-of-weekclj

(get-day-of-week calendar)

Returns day of week for given date.

Returns day of week for given date.
sourceraw docstring

get-first-day-of-weekclj

(get-first-day-of-week calendar)

Returns first day of given week.

Returns first day of given week.
sourceraw docstring

get-first-day-of-week-formattedclj

(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.
sourceraw docstring

get-last-day-of-weekclj

(get-last-day-of-week calendar)

Return last day of given week.

Return last day of given week.
sourceraw docstring

get-last-day-of-week-formattedclj

(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.
sourceraw docstring

get-weekclj

(get-week calendar)

Returns week number within the current year.

Returns week number within the current year.
sourceraw docstring

get-yearclj

(get-year calendar)

Returns the year for the current date.

Returns the year for the current date.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close