RecurrenceOccursOn Method

This method is used to determine whether or not an instance of the recurrence falls on the specified date/time.

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public bool OccursOn(
	DateTime checkDate,
	bool includeTime
)

Parameters

checkDate  DateTime
The date/time to check for an occurrence.
includeTime  Boolean
If true, time is included in the search. If false, time is ignored and it returns true if an instance occurs at any time on the given date.

Return Value

Boolean
Returns true if an instance occurs on the specified date/time, false if not

See Also