Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 2.58 KB

Assorted.Utils.Dates.Patterns.YearlyMonthPattern.md

File metadata and controls

49 lines (33 loc) · 2.58 KB

YearlyMonthPattern Class

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.

Syntax

public class YearlyMonthPattern : IRecurrentPattern, IEquatable<YearlyMonthPattern>

Constructors

Constructor Description
YearlyMonthPattern(int, int, int) Initializes an instance of YearlyMonthPattern class.

Properties

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.

Methods

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.

Thread Safety

Any public member of this type, either static or instance, is thread-safe.

See Also


This document is generated by DG.