The project is planed to be on top of LOCAL-TIME as its extension later.
Calendar-date is a Gregorian calendar date library in Common Lisp.
Since calendar-date is not on Quicklisp yet, please use its local-projects feature for now.
cd quicklisp/local-projects
git clone [email protected]:takagi/calendar-date
You can install calendar-date via Quicklisp,
(ql:quickload :calendar-date)
CALENDAR-DATE year month day => new-calendar-date
CALENDAR-DATE-TODAY &key timezone => new-calendar-date
CALENDAR-DATE-YEAR calendar-date => year
CALENDAR-DATE-MONTH calendar-date => month
CALENDAR-DATE-DAY calendar-date => day
CALENDAR-DATE-VALUES calendar-date => year, month, day
CALENDAR-DATE-DAY-OF-WEEK calendar-date => day-of-week
[Function] calendar-date=, calendar-date/=, calendar-date<, calendar-date>, calendar-date<=, calendar-date>=
CALENDAR-DATE= calendar-date1 calendar-date2 => generalized-boolean
CALENDAR-DATE/= calendar-date1 calendar-date2 => generalized-boolean
CALENDAR-DATE< calendar-date1 calendar-date2 => generalized-boolean
CALENDAR-DATE> calendar-date1 calendar-date2 => generalized-boolean
CALENDAR-DATE<= calendar-date1 calendar-date2 => generalized-boolean
CALENDAR-DATE>= calendar-date1 calendar-date2 => generalized-boolean
BUSINESS-DAY-P calendar-date => generalized-boolean
WEEKDAY-P calendar-date => generalized-boolean
WEEKEND-P calendar-date => generalized-boolean
NEXT-DAY calendar-date => new-calendar-date
PREVIOUS-DAY calendar-date => new-calendar-date
NEXT-WEEK calendar-date => new-calendar-date
PREVIOUS-WEEK calendar-date => new-calendar-date
SAME-DAY-OF-WEEK-OF-NEXT-WEEK calendar-date => new-calendar-date
SAME-DAY-OF-WEEK-OF-PREVIOUS-WEEK calendar-date => new-calendar-date
DAY-OF-WEEK-OF-THE-WEEK day-of-week calendar-date => new-calendar-date
NEXT-MONTH calendar-date => new-calendar-date
PREVIOUS-MONTH calendar-date => new-calendar-date
SAME-DAY-OF-NEXT-MONTH calendar-date => new-calendar-date
SAME-DAY-OF-PREVIOUS-MONTH calendar-date => new-calendar-date
FIRST-OF-THE-MONTH calendar-date => new-calendar-date
NTH-OF-THE-MONTH nth calendar-date => new-calendar-date
NTH-OF-THE-MONTH-IN-BUSINESS nth calendar-date => new-calendar-date
NTH-BUSINESS-DAY-OF-THE-MONTH nth calendar-date => new-calendar-date
LAST-DAY-OF-THE-MONTH calendar-date => new-calendar-date
LAST-BUSINESS-DAY-OF-THE-MONTH calendar-date => new-calendar-date
- Masayuki Takagi ([email protected])
Copyright (c) 2015 Masayuki Takagi ([email protected])
Licensed under the MIT License.