This is preliminary documentation and is subject to change.

IHolidayProviderIsPublicHoliday(DateTime, 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(
	DateTime date,
	CultureInfo? cultureInfo = null
)

Parameters

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

Return Value

Boolean
A bool.

See Also