The IEvaluator type exposes the following members.

Methods

  NameDescription
Public methodClear
Clears the evaluation, eliminating all data that has been collected up to this point. Since this data is cached as needed, this method can be useful to gather information that is guaranteed to not be out-of-date.
Public methodEvaluate
Evaluates this item to determine the dates and times for which it occurs/recurs. This method only evaluates items which occur/recur between fromDate and toDate; therefore, if you require a list of items which occur outside of this range, you must specify a fromDate and toDate which encapsulate the date(s) of interest. This method evaluates using the startDate as the beginning point. For example, for a WEEKLY occurrence, the startDate determines the day of week that this item will recur on.
Note Note For events with very complex recurrence rules, this method may be a bottleneck during processing time, especially when this method is called for a large number of items, in sequence, or for a very large time span.

Properties

  NameDescription
Public propertyAssociatedObject
Gets the object associated with this evaluator.
Public propertyCalendar
The system calendar that governs the evaluation rules.
Public propertyEvaluationEndBounds
The end bounds of the evaluation. See EvaluationStartBounds for more info.
Public propertyEvaluationStartBounds
The start bounds of the evaluation. This gives the first date/time that is covered by the evaluation. This together with EvaluationEndBounds determines what time frames have already been evaluated, so duplicate evaluation doesn't occur.
Public propertyPeriods
Gets a list of periods collected so far during the evaluation process.

See Also