CalendarRecurrence

CalendarRecurrence class

The main class, represents an iCalendar recurrence.

public class CalendarRecurrence : IEquatable<CalendarRecurrence>

Constructors

Name Description
CalendarRecurrence() Initializes a new instance of the CalendarRecurrence class.
CalendarRecurrence(string) Initializes a new instance of the CalendarRecurrence class.

Properties

Name Description
EndDate { get; set; } Gets or sets the end date.
ExDates { get; } Gets the ex dates.
ExRules { get; } Gets the ex rules.
RDates { get; } Gets the R dates.
RRules { get; } Gets the R rules.
StartDate { get; set; } Gets or sets the start date.

Methods

Name Description
static FromiCalendar(string) Gets a recurrence pattern from iCalendar string.
static FromRecurrence(string) Gets a recurrence pattern from XML pattern string.
static FromRecurrence(XmlElement) Gets a recurrence pattern from XmlElement.
virtual Equals(CalendarRecurrence) Determines whether the specified CalendarRecurrence is equal to this instance.
override Equals(object) Determines whether the specified Object is equal to the current Object.
GenerateOccurrences() Generates the occurrences.
GenerateOccurrences(int) Generates n next occurrences.
GenerateOccurrences(DateTime, DateTime) Generates the occurrences.
GenerateOccurrences(DateTime, DateTime, int) Generates n next occurrences.
override GetHashCode() Returns a hash code for this instance.
ToiCalendar() To iCalendar string.
operator == Implements the operator ==.
operator != Implements the operator !=.

See Also