Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.43 KB

Assorted.Utils.Dates.Patterns.YearlyMonthPattern.-ctor.md

File metadata and controls

38 lines (24 loc) · 1.43 KB

YearlyMonthPattern.YearlyMonthPattern(int, int, int) Constructor

Namespace: Assorted.Utils.Dates.Patterns
Assembly: Assorted.Utils (Assorted.Utils.dll) version 1.1.0.0

Initializes an instance of YearlyMonthPattern class.

Syntax

public YearlyMonthPattern(int monthOfYear, int dayOfMonth, int interval = 1)

Parameters

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.

Exceptions

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.

See Also


This document is generated by DG.