Namespace: Assorted.Utils.Dates.Patterns
Assembly: Assorted.Utils (Assorted.Utils.dll) version 1.1.0.0
Initializes an instance of YearlyMonthPattern
class.
public YearlyMonthPattern(int monthOfYear, int dayOfMonth, int interval = 1)
monthOfYear
: int
The month when the event occurs.
dayOfMonth
: int
The day of the month when the event occurs.
interval
: int
The interval of occurrences in number of years.
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | monthOfYear is less than 1 or greater than 12. Or, dayOfMonth is less than 1 or greater than the last day of the month specified by the monthOfYear parameter. Or, interval is less than 1. |
This document is generated by DG.