holiday              package:fCalendar              R Documentation

_H_o_l_i_d_a_y_s

_D_e_s_c_r_i_p_t_i_o_n:

     Returns the date of a holiday.

_U_s_a_g_e:

     holiday(year = currentYear, Holiday = "Easter")

_A_r_g_u_m_e_n_t_s:

 Holiday: the unquoted function name of an ecclestial or public holiday
           in the G7 countries or Switzerland, see the list below. 

    year: an integer value or vector of years, formatted as 'YYYY'. 

_D_e_t_a_i_l_s:

     *Holidays:* 

      Easter is the central ecclestial holiday. Many other holidays are
     related to this feast. The function 'Easter' computes the dates of
     Easter and related ecclestial holidays for the  requested year
     vector. 'holiday' calculates the dates of  ecclestial or publich
     holidays in the G7 countries, e.g.  'holiday(2003, "GoodFriday")'.
     Rmetrics contains holiday  functions automatically loaded at
     startup time. The user can  add easily additional holiday
     functions. The information for  the holidays is collected from
     several web pages about holiday  calendars. The following
     ecclestial and public '[HOLIDAY]' functions  in the G7 countries
     and Switzerland are available:  

     _Holidays Related to Easter:_  
      Septuagesima, Quinquagesima, AshWednesday, PalmSunday,
     GoodFriday,  EasterSunday, Easter, EasterMonday,  RogationSunday,
     Ascension, Pentecost, PentecostMonday,  TrinitySunday
     CorpusChristi. 

     _Holidays Related to Christmas:_  
      ChristTheKing, Advent1st, Advent1st, Advent3rd,  Advent4th,
     ChristmasEve, ChristmasDay, BoxingDay,  NewYearsDay. 

     _Other Ecclestical Feasts:_  
      SolemnityOfMary, Epiphany, PresentationOfLord,  Annunciation,
     TransfigurationOfLord, AssumptionOfMary,  AssumptionOfMary,
     BirthOfVirginMary, CelebrationOfHolyCross,  MassOfArchangels,
     AllSaints, AllSouls. 

     _CHZurich - Public Holidays:_  
      CHBerchtoldsDay, CHSechselaeuten, CHAscension, 
     CHConfederationDay, CHKnabenschiessen. 

     _GBLondon - Public Holidays:_  
      GBMayDay, GBBankHoliday, GBSummerBankHoliday,  GBNewYearsEve.

     _DEFrankfurt - Public Holidays:_  
      DEAscension, DECorpusChristi, DEGermanUnity, DEChristmasEve,
     DENewYearsEve. 

     _FRParis - Public Holidays:_  
      FRFetDeLaVictoire1945, FRAscension, FRBastilleDay, 
     FRAssumptionVirginMary, FRAllSaints, FRArmisticeDay. 

     _ITMilano - Public Holidays:_  
      ITEpiphany, ITLiberationDay, ITRepublicAnniversary, 
     ITAssumptionOfVirginMary, ITAllSaints, ITWWIVictoryAnniversary, 
     ITStAmrose, ITImmaculateConception. 

     _USNewYork/USChicago - Public Holidays:_  
      USNewYearsDay, USInaugurationDay, USMLKingsBirthday, 
     USLincolnsBirthday, USWashingtonsBirthday, USMemorialDay, 
     USIndependenceDay, USLaborDay,  USColumbusDay, USElectionDay, 
     USVeteransDay, USThanksgivingDay, USChristmasDay, 
     USCPulaskisBirthday, USGoodFriday. 

     _CAToronto/CAMontreal - Public Holidays:_  
      CAVictoriaDay, CACanadaDay, CACivicProvincialHoliday, 
     CALabourDay, CAThanksgivingDay, CaRemembranceDay. 

     _JPTokyo/JPOsaka - Public Holidays:_  
      JPNewYearsDay, JPGantan, JPBankHolidayJan2, JPBankHolidayJan3,
     JPComingOfAgeDay, JPSeijinNoHi, JPNatFoundationDay,
     JPKenkokuKinenNoHi, JPGreeneryDay, JPMidoriNoHi, 
     JPConstitutionDay, JPKenpouKinenBi, JPNationHoliday, 
     JPKokuminNoKyujitu, JPChildrensDay, JPKodomoNoHi,  JPMarineDay,
     JPUmiNoHi, JPRespectForTheAgedDay, JPKeirouNoHi,
     JPAutumnalEquinox, JPShuubun-no-hi,  JPHealthandSportsDay,
     JPTaiikuNoHi, JPNationalCultureDay,  JPBunkaNoHi,
     JPThanksgivingDay, JPKinrouKanshaNohi,  JPKinrou-kansha-no-hi,
     JPEmperorsBirthday, JPTennou-tanjyou-bi, JPTennou-tanjyou-bi.

_V_a_l_u_e:

     The function 'holiday' returns an object of class 'timeDate'.

_A_u_t_h_o_r(_s):

     Diethelm Wuertz for the Rmetrics R-port.

_R_e_f_e_r_e_n_c_e_s:

     ISO-8601 (1988);  _Data Elements and Interchange Formats -
     Information Interchange, Representation of Dates and Time_,
     International Organization for Standardization, Reference Number
     ISO 8601, 14 pages.

_E_x_a_m_p_l_e_s:

     ## easter -
        # Dates for GoodFriday from 2000 until 2010:                     
        holiday(2000:2010, "GoodFriday")                  
        
     ## holidays -   
        Easter(2000:2010)                                
        GoodFriday(2000:2010)

