This is preliminary documentation and is subject to change.

IHolidayProvider Interface

An interface to provide access to holiday information

Definition

Namespace: MoreDateTime.Interfaces
Assembly: MoreDateTime (in MoreDateTime.dll) Version: 1.3.0
C#
public interface IHolidayProvider

Methods

IsPublicHoliday(DateOnly, CultureInfo) Checks whether the given date is a public holiday for the given Calendar in CultureInfo
IsPublicHoliday(DateTime, CultureInfo) Checks whether the given date is a public holiday for the given Calendar in CultureInfo
NumberOfKnownHolidays Gets the number of known holidays

See Also