API Documentation -> NtApplication -> NtIsWeekend

# NtApplication.NtIsWeekend Method

The NtTimeChartControl calls this method with any date. You should return true if this date is a weekend day 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 | NtIsWeekend ( DateTime dt ) | Your implementation of this method should return true if the given DateTime dt is a weekend day else false.

Return value:

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

Parameters:

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

Remarks:

None.

See also:

NtIsHoliday()

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