RecurrenceOccursOn Method
This method is used to determine whether or not an instance of the recurrence falls on the specified
date/time.
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public bool OccursOn(
DateTime checkDate,
bool includeTime
)
Public Function OccursOn (
checkDate As DateTime,
includeTime As Boolean
) As Boolean
public:
bool OccursOn(
DateTime checkDate,
bool includeTime
)
member OccursOn :
checkDate : DateTime *
includeTime : bool -> bool
- 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.
BooleanReturns true if an instance occurs on the specified date/time, false if not