RecurrenceBy Year Day Property
This is used to modify the BYYEARDAY rule of a recurrence
Definition
Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
C#
public UniqueIntegerCollection ByYearDay { get; }VB
Public ReadOnly Property ByYearDay As UniqueIntegerCollection
GetC++
public:
property UniqueIntegerCollection^ ByYearDay {
UniqueIntegerCollection^ get ();
}F#
member ByYearDay : UniqueIntegerCollection with getProperty Value
UniqueIntegerCollectionRemarks
The collection contains a set of unique integer values representing day number values from
-366 to +366 excluding zero. Negative values specify a day number from the end of the year.
Positive values specify a day number from the start of the year.
Example
C#
Recurrence r = new Recurrence();
// Set the properties
r.Frequency = RecurFrequency.Yearly;
r.StartDateTime = DateTime.Today;
r.Count = 20;
r.ByYearDay.AddRange(new int[] { 50, 300, -25, -210 });
// Get all instances generated by the recurrence
DateTimeCollection dc = r.AllInstances();VB
Dim r As New Recurrence()
' Set the properties
r.Frequency = RecurFrequency.Yearly
r.StartDateTime = DateTime.Today
r.Count = 20
r.ByYearDay.AddRange(New Integer() { 50, 300, -25, -210 })
' Get all instances generated by the recurrence
Dim dc As DateTimeCollection = r.AllInstances()C++
No code example is currently available or this language may not be supported.F#
No code example is currently available or this language may not be supported.