MonthlyPattern class

Represents a recurrence pattern where each occurrence happens on a specific day a specific number of months after the previous one.
Inheritance

Constructors

MonthlyPattern()
Initializes a new instance of the
MonthlyPattern.withStartDateAndIntervalAndDayOfMonth(TZDateTime startDate, int interval, int dayOfMonth)
Initializes a new instance of the

Properties

DayOfMonth int
Gets or sets the day of the month when each occurrence happens. DayOfMonth must be between 1 and 31.
getter/setter pair
EndDate ↔ TZDateTime?
Gets or sets the date after which the recurrence ends. Setting EndDate resets NumberOfOccurrences.
getter/setter pairinherited
HasEnd bool
Gets a value indicating whether the pattern has a fixed number of occurrences or an end date.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
Interval int
Gets or sets the interval between occurrences.
getter/setter pairinherited
IsRegenerationPattern bool
Gets a value indicating whether this instance is regeneration pattern.
no setterinherited
Namespace XmlNamespace
Gets or sets the namespace.
getter/setter pairinherited
NumberOfOccurrences int
Gets or sets the number of occurrences after which the recurrence ends. Setting NumberOfOccurrences resets EndDate.
getter/setter pairinherited
OnChangeList List<IComplexPropertyChangedDelegate>
Occurs when property changed.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
StartDate ↔ TZDateTime?
Gets or sets the date and time when the recurrence start.
getter/setter pairinherited
XmlElementName String
Gets the name of the XML element.
getter/setter pairinherited-setteroverride-getter

Methods

addOnChangeEvent(IComplexPropertyChangedDelegate change) → void
inherited
CanSetFieldValue<T>(T field, T value) bool
Sets value of field.
inherited
Changed() → dynamic
Instance was changed.
inherited
ClearChangeLog() → void
Clears the change log.
inherited
GetFieldValueOrThrowIfNull<T>(T value, String name) → T
Gets a property value or throw if null.
inherited
InternalValidate() → void
Validates this instance.
override
InternalWritePropertiesToXml(EwsServiceXmlWriter writer) → void
Write properties to XML.
override
IsSame(Recurrence otherRecurrence) bool
Checks if two recurrence objects are identical.
override
LoadFromXml(EwsServiceXmlReader reader, String? xmlElementName) Future<void>
Loads from XML.
inherited
LoadFromXmlWithNamespace(EwsServiceXmlReader reader, XmlNamespace xmlNamespace, String? xmlElementName) Future<void>
Loads from XML.
inherited
NeverEnds() → void
Sets up this recurrence so that it never ends. Calling NeverEnds is equivalent to setting both NumberOfOccurrences and EndDate to null.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ReadAttributesFromXml(EwsServiceXmlReader reader) → void
Reads the attributes from XML.
inherited
ReadTextValueFromXml(EwsServiceXmlReader reader) Future<void>
Reads the text value from XML.
inherited
removeChangeEvent(IComplexPropertyChangedDelegate change) → void
inherited
toString() String
A string representation of this object.
inherited
TryReadElementFromXml(EwsServiceXmlReader reader) Future<bool>
Tries to read element from XML.
override
TryReadElementFromXmlToPatch(EwsServiceXmlReader reader) Future<bool>
Tries to read element from XML to patch this property.
inherited
UpdateFromXml(EwsServiceXmlReader reader, String xmlElementName) Future<void>
Loads from XML to update this property.
inherited
UpdateFromXmlWithNamespace(EwsServiceXmlReader reader, XmlNamespace xmlNamespace, String xmlElementName) Future<void>
Loads from XML to update itself.
inherited
Validate() → void
Implements ISelfValidate.Validate. Validates this instance.
inherited
WriteAttributesToXml(EwsServiceXmlWriter writer) → void
Writes the attributes to XML.
inherited
WriteElementsToXml(EwsServiceXmlWriter writer) → void
Writes elements to XML.
inherited
WriteToXml(EwsServiceXmlWriter writer, String? xmlElementName) → void
Writes to XML.
inherited
WriteToXmlWithNamespace(EwsServiceXmlWriter writer, XmlNamespace xmlNamespace, String? xmlElementName) → void
Writes to XML.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited