C# Class DDay.iCal.EventEvaluator

Inheritance: RecurringEvaluator
Show file Open project: nachocove/DDay-iCal-Xamarin Class Usage Examples

Public Methods

Method Description
Evaluate ( IDateTime referenceTime, System.DateTime periodStart, System.DateTime periodEnd, bool includeReferenceDateInResults ) : IList

Evaluates this event to determine the dates and times for which the event occurs. This method only evaluates events which occur between FromDate and ToDate; therefore, if you require a list of events which occur outside of this range, you must specify a FromDate and ToDate which encapsulate the date(s) of interest. For events with very complex recurrence rules, this method may be a bottleneck during processing time, especially when this method in called for a large number of events, in sequence, or for a very large time span.

EventEvaluator ( IEvent evt ) : System

Method Details

Evaluate() public method

Evaluates this event to determine the dates and times for which the event occurs. This method only evaluates events which occur between FromDate and ToDate; therefore, if you require a list of events which occur outside of this range, you must specify a FromDate and ToDate which encapsulate the date(s) of interest. For events with very complex recurrence rules, this method may be a bottleneck during processing time, especially when this method in called for a large number of events, in sequence, or for a very large time span.
public Evaluate ( IDateTime referenceTime, System.DateTime periodStart, System.DateTime periodEnd, bool includeReferenceDateInResults ) : IList
referenceTime IDateTime
periodStart System.DateTime
periodEnd System.DateTime
includeReferenceDateInResults bool
return IList

EventEvaluator() public method

public EventEvaluator ( IEvent evt ) : System
evt IEvent
return System