C# Class DDay.iCal.RecurringEvaluator

Inheritance: Evaluator
显示文件 Open project: nachocove/DDay-iCal-Xamarin

Public Methods

Method Description
Evaluate ( IDateTime referenceDate, System.DateTime periodStart, System.DateTime periodEnd, bool includeReferenceDateInResults ) : IList
RecurringEvaluator ( IRecurrable obj ) : System

Protected Methods

Method Description
EvaluateExDate ( IDateTime referenceDate, System.DateTime periodStart, System.DateTime periodEnd ) : void

Evalates the ExDate component, and excludes each specified DateTime or Period from the Periods collection.

EvaluateExRule ( IDateTime referenceDate, System.DateTime periodStart, System.DateTime periodEnd ) : void

Evaulates the ExRule component, and excludes each specified DateTime from the Periods collection.

EvaluateRDate ( IDateTime referenceDate, System.DateTime periodStart, System.DateTime periodEnd ) : void

Evalates the RDate component, and adds each specified DateTime or Period to the Periods collection.

EvaluateRRule ( IDateTime referenceDate, System.DateTime periodStart, System.DateTime periodEnd, bool includeReferenceDateInResults ) : void

Evaulates the RRule component, and adds each specified Period to the Periods collection.

Method Details

Evaluate() public method

public Evaluate ( IDateTime referenceDate, System.DateTime periodStart, System.DateTime periodEnd, bool includeReferenceDateInResults ) : IList
referenceDate IDateTime
periodStart System.DateTime
periodEnd System.DateTime
includeReferenceDateInResults bool
return IList

EvaluateExDate() protected method

Evalates the ExDate component, and excludes each specified DateTime or Period from the Periods collection.
protected EvaluateExDate ( IDateTime referenceDate, System.DateTime periodStart, System.DateTime periodEnd ) : void
referenceDate IDateTime
periodStart System.DateTime
periodEnd System.DateTime
return void

EvaluateExRule() protected method

Evaulates the ExRule component, and excludes each specified DateTime from the Periods collection.
protected EvaluateExRule ( IDateTime referenceDate, System.DateTime periodStart, System.DateTime periodEnd ) : void
referenceDate IDateTime
periodStart System.DateTime
periodEnd System.DateTime
return void

EvaluateRDate() protected method

Evalates the RDate component, and adds each specified DateTime or Period to the Periods collection.
protected EvaluateRDate ( IDateTime referenceDate, System.DateTime periodStart, System.DateTime periodEnd ) : void
referenceDate IDateTime
periodStart System.DateTime
periodEnd System.DateTime
return void

EvaluateRRule() protected method

Evaulates the RRule component, and adds each specified Period to the Periods collection.
protected EvaluateRRule ( IDateTime referenceDate, System.DateTime periodStart, System.DateTime periodEnd, bool includeReferenceDateInResults ) : void
referenceDate IDateTime
periodStart System.DateTime
periodEnd System.DateTime
includeReferenceDateInResults bool
return void

RecurringEvaluator() public method

public RecurringEvaluator ( IRecurrable obj ) : System
obj IRecurrable
return System