API Documentation -> NtApplication -> NtIsHoliday

# NtApplication.NtIsHoliday Method

The NtTimeChartControl calls this method with any date. You should return true if this date is a holiday in the understanding of your application. The NtTimeChartControl can use this information to set a special color for day columns.

Overload List:

Modifier / Return Value | Name and Parameters | Description
--- | --- | ---
bool | NtIsHoliday ( DateTime dt ) | Your implementation of this method should return true if the given DateTime dt is a holiday else false.

Return value:

bool
true if the given DateTime dt is a holiday else false.

Parameters:

DateTime dt
The DateTime to verify. Please note that this parameter is given in standard time (UTC).

Remarks:

None.

See also:

NtIsWeekend()

Top API Documentation -> NtApplication -> NtIsHoliday © 2016 Bassaly