Class CalendarRecurrence

CalendarRecurrence class

The main class, represents an iCalendar recurrence.

public class CalendarRecurrence : IEquatable<CalendarRecurrence>

Constructors

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

Properties

NameDescription
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

NameDescription
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