This is preliminary documentation and is subject to change.

IHolidayProviderIsPublicHoliday(DateOnly, CultureInfo) Method

Checks whether the given date is a public holiday for the given Calendar in CultureInfo

Definition

Namespace: MoreDateTime.Interfaces
Assembly: MoreDateTime (in MoreDateTime.dll) Version: 1.3.0
C#
bool IsPublicHoliday(
	DateOnly date,
	CultureInfo? cultureInfo = null
)

Parameters

date  DateOnly
The date
cultureInfo  CultureInfo  (Optional)
The culture info.

Return Value

Boolean
A bool.

See Also