CommonRoutingExtensionsIsHoliday Method

Is dnTime at the holiday for dn?

Definition

Namespace: CallFlow
Assembly: CallFlow.CFD (in CallFlow.CFD.dll) Version: 20.0.1
C#
public static bool IsHoliday(
	this DN dn,
	DateTime dnTime,
	out OfficeHoliday?? theHoliday
)

Parameters

dn  DN
the DN
dnTime  DateTime
current local time of the dn Now(DN, DateTime, TimeZoneInfo, GroupHoursMode)
theHoliday  OfficeHoliday
the holiday which is at the dnTime. this parameter can be null if Group is forced to be "at holiday" out of the preconfigured holidays

Return Value

Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DN. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

Group time override is ignored if dn is Extension

See Also