(import '[java.time LocalDate])
; a date is immutable: every change gives back a new one
(def today (LocalDate/now))
(def yesterday (.minusDays today 1))
(def tomorrow (.plusDays today 1))
(def next-month (.plusMonths today 1))
(def next-year (.plusYears today 1))
(def first-day (.withDayOfMonth today 1))
(println "today is" (str today))
(println "yesterday is" (str yesterday))
(println "tomorrow is" (str tomorrow))
(println "next-month is" (str next-month))
(println "next-year is" (str next-year))
(println "first-day is" (str first-day))