Skip to content Skip to sidebar Skip to footer

Calendar Library Supporting Holidays

Are there any existing library that support holidays (e.g. Christmas) highlight in the calendar itself? Google Calendar is fine, but I just want to use the library to display the c

Solution 1:

Problem with you saying holidays is that you are assuming a certain country / geographical / religious affiliation.

What you should really be looking for is a way to mark certain dates with something, as ultimately that is what you need. Holidays mean nothing other than days marked off or showing different from another. Google does this by utilizing feeds (which you could use).

Mozilla keeps a list of holidays as well: http://www.mozilla.org/projects/calendar/holidays.html

You will have to apply the list to your chosen calendar (most support day / date changes, and you would loop through your holiday list and add those days / mark as special).

Here is an example of jQuery Datepicker with Bank Holidays: http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/renderCalendarBankHolidays.html

Hope that gets you started.

Solution 2:

Rather late in posting an answer, but as the current maintainer of the relevant PEAR Packages, I would suggest that you utilise the Date Holidays suite of components from PEAR. There are drivers for most countries: Australia, USA, UK, Germany, Russia and others.

Post a Comment for "Calendar Library Supporting Holidays"