This is preliminary documentation and is subject to change.

DefaultHolidayProviderNumberOfKnownHolidays Method

Gets the number of known holidays

Definition

Namespace: MoreDateTime
Assembly: MoreDateTime (in MoreDateTime.dll) Version: 1.3.0
C#
public int NumberOfKnownHolidays(
	int year,
	CultureInfo? cultureInfo = null
)

Parameters

year  Int32
The year for which the number of holidays is requested
cultureInfo  CultureInfo  (Optional)
The

Return Value

Int32

Implements

IHolidayProviderNumberOfKnownHolidays(Int32, CultureInfo)

See Also