holiday-Listing: List of Holidayss

Description Usage Arguments Value Examples

Description

Returns the list of holidays.

Usage

1
listHolidays(pattern = ".*") 

Arguments

pattern

a pattern character string as required by the grep function.

Value

returns a list of holidays as a character vector.

Examples

1
2
3
4
5
6
7
## listHolidays -

   # All Holidays:
   listHolidays()
   
   # Local Swiss Holidays:
   listHolidays("CH") 

Example output

  [1] "Advent1st"                "Advent2nd"               
  [3] "Advent3rd"                "Advent4th"               
  [5] "AllSaints"                "AllSouls"                
  [7] "Annunciation"             "Ascension"               
  [9] "AshWednesday"             "AssumptionOfMary"        
 [11] "BirthOfVirginMary"        "BoxingDay"               
 [13] "CACanadaDay"              "CACivicProvincialHoliday"
 [15] "CALabourDay"              "CAThanksgivingDay"       
 [17] "CAVictoriaDay"            "CHAscension"             
 [19] "CHBerchtoldsDay"          "CHConfederationDay"      
 [21] "CHKnabenschiessen"        "CHSechselaeuten"         
 [23] "CaRemembranceDay"         "CelebrationOfHolyCross"  
 [25] "ChristTheKing"            "ChristmasDay"            
 [27] "ChristmasEve"             "CorpusChristi"           
 [29] "DEAscension"              "DEChristmasEve"          
 [31] "DECorpusChristi"          "DEGermanUnity"           
 [33] "DENewYearsEve"            "Easter"                  
 [35] "EasterMonday"             "EasterSunday"            
 [37] "Epiphany"                 "FRAllSaints"             
 [39] "FRArmisticeDay"           "FRAscension"             
 [41] "FRAssumptionVirginMary"   "FRBastilleDay"           
 [43] "FRFetDeLaVictoire1945"    "GBBankHoliday"           
 [45] "GBMayDay"                 "GBMilleniumDay"          
 [47] "GBSummerBankHoliday"      "GoodFriday"              
 [49] "ITAllSaints"              "ITAssumptionOfVirginMary"
 [51] "ITEpiphany"               "ITImmaculateConception"  
 [53] "ITLiberationDay"          "ITStAmrose"              
 [55] "JPAutumnalEquinox"        "JPBankHolidayDec31"      
 [57] "JPBankHolidayJan2"        "JPBankHolidayJan3"       
 [59] "JPBunkaNoHi"              "JPChildrensDay"          
 [61] "JPComingOfAgeDay"         "JPConstitutionDay"       
 [63] "JPEmperorsBirthday"       "JPGantan"                
 [65] "JPGreeneryDay"            "JPHealthandSportsDay"    
 [67] "JPKeirouNOhi"             "JPKenkokuKinenNoHi"      
 [69] "JPKenpouKinenBi"          "JPKinrouKanshaNoHi"      
 [71] "JPKodomoNoHi"             "JPKokuminNoKyujitu"      
 [73] "JPMarineDay"              "JPMidoriNoHi"            
 [75] "JPNatFoundationDay"       "JPNationHoliday"         
 [77] "JPNationalCultureDay"     "JPNewYearsDay"           
 [79] "JPRespectForTheAgedDay"   "JPSeijinNoHi"            
 [81] "JPShuubunNoHi"            "JPTaiikuNoHi"            
 [83] "JPTennouTanjyouBi"        "JPThanksgivingDay"       
 [85] "JPUmiNoHi"                "LaborDay"                
 [87] "MassOfArchangels"         "NewYearsDay"             
 [89] "PalmSunday"               "Pentecost"               
 [91] "PentecostMonday"          "PresentationOfLord"      
 [93] "Quinquagesima"            "RogationSunday"          
 [95] "Septuagesima"             "SolemnityOfMary"         
 [97] "TransfigurationOfLord"    "TrinitySunday"           
 [99] "USCPulaskisBirthday"      "USChristmasDay"          
[101] "USColumbusDay"            "USDecorationMemorialDay" 
[103] "USElectionDay"            "USGoodFriday"            
[105] "USInaugurationDay"        "USIndependenceDay"       
[107] "USLaborDay"               "USLincolnsBirthday"      
[109] "USMLKingsBirthday"        "USMemorialDay"           
[111] "USNewYearsDay"            "USPresidentsDay"         
[113] "USThanksgivingDay"        "USVeteransDay"           
[115] "USWashingtonsBirthday"   
[1] "CHAscension"        "CHBerchtoldsDay"    "CHConfederationDay"
[4] "CHKnabenschiessen"  "CHSechselaeuten"   

timeDate documentation built on Feb. 22, 2018, 1:03 a.m.