This is preliminary documentation and is subject to change.

NullHolidayProviderIsPublicHoliday(DateOnly, CultureInfo) Method

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

Definition

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

Parameters

date  DateOnly
The date
cultureInfo  CultureInfo
The culture info.

Return Value

Boolean
A bool.

Implements

IHolidayProviderIsPublicHoliday(DateOnly, CultureInfo)

See Also