clj-time.predicates
Predicate functions to ask basic questions about a date
Was it Monday?
(monday? (clj-time.core/date-time 1999 9 9))
Is it January?
(january? (clj-time.core/date-time 2011 1 1))
august?
(august? date-time)
december?
(december? date-time)
february?
(february? date-time)
first-day-of-month?
(first-day-of-month? date-time)
friday?
(friday? date-time)
january?
(january? date-time)
last-day-of-month?
(last-day-of-month? date-time)
monday?
(monday? date-time)
november?
(november? date-time)
nth-day-of-the-month?
(nth-day-of-the-month? date-time n)
october?
(october? date-time)
same-date?
(same-date? this-date-time that-date-time)
Compares two date times to see if they are the same date
saturday?
(saturday? date-time)
september?
(september? date-time)
sunday?
(sunday? date-time)
thursday?
(thursday? date-time)
tuesday?
(tuesday? date-time)
wednesday?
(wednesday? date-time)
weekday?
(weekday? date-time)
weekend?
(weekend? date-time)