Holidays

class ls.joyous.holidays.Holidays(holidaySetting='JOYOUS_HOLIDAYS')[source]

Defines what holidays are celebrated on what dates.

add(date, value)[source]

Add a holiday to an individual date.

get(date)[source]

Get all the holidays that are celebrated on this date.

names()[source]

Get a list of all the holiday names, sorted by month-day.

register(src)[source]

Register a new source of holiday data.