File tree Expand file tree Collapse file tree
src/Nager.Date/HolidayProviders Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ using Nager . Date . Extensions ;
12using Nager . Date . Models ;
23using Nager . Date . ReligiousProviders ;
34using System ;
@@ -140,6 +141,8 @@ protected override IEnumerable<HolidaySpecification> GetHolidaySpecifications(in
140141 this . _catholicProvider . WhitMonday ( "Lunedì di Pentecoste" , year ) . SetSubdivisionCodes ( "IT-32" ) ,
141142 } ;
142143
144+ holidaySpecifications . AddIfNotNull ( this . SaintFrancisOfAssisisDay ( year ) ) ;
145+
143146 return holidaySpecifications ;
144147 }
145148
@@ -151,5 +154,22 @@ public override IEnumerable<string> GetSources()
151154 "https://en.wikipedia.org/wiki/Public_holidays_in_Italy" ,
152155 ] ;
153156 }
157+
158+ private HolidaySpecification ? SaintFrancisOfAssisisDay ( int year )
159+ {
160+ if ( year >= 2026 )
161+ {
162+ return new HolidaySpecification
163+ {
164+ Id = "STFRANCISOFASSISISDAY-01" ,
165+ Date = new DateTime ( year , 10 , 4 ) ,
166+ EnglishName = "St. Francis of Assisi's Day" ,
167+ LocalName = "San Francesco d'Assisi" ,
168+ HolidayTypes = HolidayTypes . Public
169+ } ;
170+ }
171+
172+ return null ;
173+ }
154174 }
155175}
You can’t perform that action at this time.
0 commit comments