Namespace: Assorted.Utils.Dates.Patterns
Assembly: Assorted.Utils (Assorted.Utils.dll) version 1.1.0.0
Implements: IRecurrentPattern, IEquatable<YearlyMonthPattern>
Inheritance: object→
YearlyMonthPattern
Generates a sequence of System.DateTime
values based on a monthly reoccurring pattern when events occur on a specific day of a specific month of the year.
public class YearlyMonthPattern : IRecurrentPattern, IEquatable<YearlyMonthPattern>
Constructor | Description |
---|---|
YearlyMonthPattern(int, int, int) | Initializes an instance of YearlyMonthPattern class. |
Property | Description |
---|---|
DayOfMonth | Gets the day of the month when the event occurs. |
Interval | Gets the interval of occurrences in number of years. |
MonthOfYear | Gets the month when the event occurs. |
Method | Description |
---|---|
Equals(object) | Determines whether this instance and a specified object are equal. |
Equals(YearlyMonthPattern) | Indicates whether the current instance is equal to another object of type YearlyMonthPattern . |
GetHashCode() | Returns the hash code for this instance. |
GetRecurrencesStartingAt(DateTime) | Returns the sequence of recurring dates, starting at a given System.DateTime value. |
Any public member of this type, either static or instance, is thread-safe.
This document is generated by DG.