Learn R Programming

splusTimeDate (version 1.5.0-72)

holiday.AllSaints: Holiday Generating Functions

Description

Generate specific holidays.

Usage

holiday.AllSaints(years)
holiday.Anzac(years)
holiday.Australia(years)
holiday.Bastille(years)
holiday.Canada(years)
holiday.Christmas(years)
holiday.Columbus(years)
holiday.Easter(years)
holiday.GoodFriday(years)
holiday.Independence(years)
holiday.Labor(years)
holiday.MLK(years)
holiday.May(years)
holiday.Memorial(years)
holiday.NewYears(years)
holiday.NYSE(years)
holiday.Presidents(years)
holiday.Remembrance(years)
holiday.StPatricks(years)
holiday.Thanksgiving(years)
holiday.Thanksgiving.Canada(years)
holiday.USFederal(years)
holiday.VE(years)
holiday.Veterans(years)
holiday.Victoria(years)

Arguments

years
the years for which to generate holidays (for example, 1998:2005).

Value

  • returns a time/date object with the given holidays. They are not guaranteed to be in any particular order.

    In 1971, many U.S. holidays were changed to fall on Mondays, or the holiday(s) began more recently. Because the holiday functions always return the modern definition for the holidays, the return values might be inaccurate for dates specified before 1971 or before the beginning date of the holidays. (The exception to that possible inaccuracy is the New York Stock Exchange (NYSE) holidays, which contains their stated holiday schedules as far back as 1885.)

References

The following web sites were used to obtain information on the dates of holidays: http://www.adfa.oz.au/~awm/anzacday/traditio.htm, http://www.effect.net.au/cuddlyk/myworld/history/ausday/ausday.html, http://fas.sfu.ca/canheritage/homepage/canid_hp/theme.htm, http://www.usis.usemb.se/Holidays/celebrate/intro.htm, http://www.gold.net/~cdwf/misc/easter.html, http://pages.citenet.net/users/ctmx1108/webcalend/web-cal-top.html http://www.smiley.cy.net/bdecie/Canada.html, http://shoga.wwa.com/~android7/holidays.htm, http://www.nyse.com

Details

[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

See Also

holiday.fixed, holiday.nearest.weekday, holidays.

Examples

Run this code
holiday.Christmas(1994:2005)

Run the code above in your browser using DataLab