Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 2.4 KB

Assorted.Utils.Dates.Patterns.YearlyDayPattern.md

File metadata and controls

48 lines (32 loc) · 2.4 KB

YearlyDayPattern Class

Namespace: Assorted.Utils.Dates.Patterns
Assembly: Assorted.Utils (Assorted.Utils.dll) version 1.1.0.0
Implements: IRecurrentPattern, IEquatable<YearlyDayPattern>
Inheritance: object YearlyDayPattern

Generates a sequence of System.DateTime values based on a yearly reoccurring pattern when events occur on a specific day of the year.

Syntax

public class YearlyDayPattern : IRecurrentPattern, IEquatable<YearlyDayPattern>

Constructors

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

Properties

Property Description
DayOfYear Gets the day of the year when the event occurs.
Interval Gets the interval of occurrences in number of years.

Methods

Method Description
Equals(object) Determines whether this instance and a specified object are equal.
Equals(YearlyDayPattern) Indicates whether the current instance is equal to another object of type YearlyDayPattern.
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.