PublicHoliday 2.21.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package PublicHoliday --version 2.21.0                
NuGet\Install-Package PublicHoliday -Version 2.21.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PublicHoliday" Version="2.21.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PublicHoliday --version 2.21.0                
#r "nuget: PublicHoliday, 2.21.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PublicHoliday as a Cake Addin
#addin nuget:?package=PublicHoliday&version=2.21.0

// Install PublicHoliday as a Cake Tool
#tool nuget:?package=PublicHoliday&version=2.21.0                

Calculate national public holidays for countries including US, UK, France, Belgium, Germany, Australia, Canada and many others for any year

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net35 is compatible.  net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 3.5

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETStandard 1.3

  • net6.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on PublicHoliday:

Package Downloads
PsA3Forms

Package Description

DateFunctions

Set of common commands for calculating previous working days, bank holidays and working days

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.0 5,292 11/11/2024
2.41.0 88,940 9/3/2024
2.40.0 35,449 8/12/2024
2.39.0 102,630 5/27/2024
2.38.0 106,757 4/7/2024
2.37.0 13,375 4/1/2024
2.36.0 49,475 3/10/2024
2.35.0 7,929 3/3/2024
2.34.0 172,449 12/5/2023
2.33.0 29,318 11/22/2023
2.32.0 83,360 10/4/2023
2.31.0 30,385 9/9/2023
2.30.0 104,189 7/24/2023
2.29.0 145,564 5/28/2023
2.28.0 26,310 5/6/2023
2.27.0 132,415 3/25/2023
2.26.0 74,480 3/12/2023
2.25.0 4,766 3/5/2023
2.24.0 35,109 2/7/2023
2.23.0 46,174 1/7/2023
2.22.0 302,068 12/8/2022
2.21.0 19,677 11/24/2022
2.20.0 30,192 11/6/2022
2.19.0 17,491 10/25/2022
2.18.0 3,397 10/22/2022
2.17.0 40,168 9/25/2022
2.16.2 18,541 9/12/2022
2.16.1 1,001 9/11/2022
2.16.0 44,237 8/19/2022
2.15.0 118,788 5/3/2022
2.14.0 88,933 1/4/2022
2.13.0 21,090 12/8/2021
2.12.0 4,564 11/18/2021
2.11.0 5,800 11/6/2021
2.10.0 5,142 10/25/2021
2.7.0 37,985 9/17/2021
2.6.0 48,671 7/4/2021
2.5.0 12,409 6/18/2021
2.3.0 135,042 11/12/2020
2.2.0 165,062 9/1/2020
2.1.0 38,135 7/11/2020
2.0.8 46,460 4/17/2020
2.0.7 96,137 9/14/2019
2.0.6 70,812 7/31/2019
2.0.5 14,012 6/17/2019
2.0.4 1,426 6/8/2019
2.0.3 59,602 3/8/2019
2.0.2 81,627 4/28/2018
2.0.1 13,151 2/17/2018
2.0.0 22,983 10/4/2017
1.8.0 8,120 6/5/2017
1.7.0 1,856 5/27/2017
1.6.0 1,822 5/7/2017
1.5.0 3,960 1/11/2017
1.4.0 23,377 11/3/2016
1.3.2 3,315 6/28/2016
1.3.2-beta2 1,651 5/31/2016
1.3.2-beta1 1,404 5/30/2016
1.3.1 12,201 1/4/2016
1.3.0 2,247 7/7/2015
1.2.0 1,899 7/1/2015
1.1.1 1,974 1/16/2015
1.1.0 2,459 4/29/2014
1.0.0 2,275 11/16/2013

2.0.2: Fix for AU-NSW-2016 (thanks @dotnetshadow)
2.0.3: Canada BC changing family day from 2019
2.0.4: UK Early May Day 2020 moved (thanks @skipishere)
2.0.5: UK Early May Day 2020 Monday (thanks @deltafsdevelopment )
2.0.6: IsWorkingDay added (thanks @MilkyWare)
2.0.7: DE recent changes (thanks @janaw)
2.0.8: Austria 2008 error (thanks @OtmarP)
2.1.0: South Africa added (thanks @cltw666)
2.2.0: Japan 2020 error (thanks @overstimulated)
2.3.0: UK 2022 Queen's Platinum Jubilee
2.4.0: Scotland, Northern Island holidays (thanks @stuart-lawrence)
2.5.0: US 2021 Juneteenth added
2.6.0: New Zealand Matariki dates added for next 30 years
2.7.0: Add Denmark (thanks @Halling69), add Canada Truth&Reconciliation from 2021 (thanks @mattandwhatnot), change Japan Emperors Day (thanks @zimathon)
2.8.0: Add Canada Governement Quebec Closing Day , improve HolidayCalculator (thanks @Hrothval)
2.9.0: Add Localized String for class Holiday, Adding cache for Easter for performance framework 4.0+/standard1.3+ (thanks @Hrothval) Added RomanianPublicHoliday (thanks @mihaigliga21)
2.10.0: Add in HolidayCalculator PreviousWorkingDay/NextWorkingDay with x open day, Add UseCachingHolidays with default to false in IPublicHolidays/PublicHolidayBase, Add in IsWorkingDay in IPublicHolidays, Add target .NET 5.0 (thanks @Hrothval)
2.11.0: Add Estonia (thanks @Kaupo) Add USAFederalReserveHoliday (thanks @AndrewPecha). Add LocalizationString for France and US. Adjust framework for code section, CanadaQuebecGovClosingDay adjust holiday name for past year CanadaDay and NationalPatriotDay, HolidayCalculator PreviousWorkingDay/NextWorkingDay option ignore same day, IPublicHolidays/PublicHolidayBase add PreviousWorkingDayNotSameDay and NextWorkingDayNotSameDay, USAPublicHoliday add holiday name and standardization (thanks @Hrothval)
2.12.0: Fix DutchPublicHoliday LiberationDay (thanks @sergiu05)
2.13.0: Fix ANZAC/Easter Monday conflict (thanks @seancallinan )
2.14.0: #66 Add holiday names for USAFederalReserveHoliday
2.15.0: #67 Fix spelling Switzerland Pfingsten
2.16.0 #69 Add Lithuania (thanks @aursad)
2.16.2 #72 Add state funeral of Queen Elizabeth II, UK, Canada, Australia, New Zealand (thanks @seancallinan )
2.17.0 #73 NZ provincial holidays added (thanks @seancallinan ) #74 Germany holiday error
2.18.0 #77 South african public holidays fixes (thanks @FifoTheHein ) #78 Added polish diacritics (thanks @konradbartecki )
2.19.0 #79 Added Turkey (thanks @HakanUcaar )
2.20.0 Added UK special holiday for Coronation, 2023
2.21.0 #81 Added Slovenian holidays (thanks @KlemenS189 )