Recurrence(String) Constructor
Construct a recurrence from a string in vCalendar 1.0 basic grammar format or iCalendar 2.0
RRULE/EXRULE format.
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public Recurrence(
string recur
)
Public Sub New (
recur As String
)
public:
Recurrence(
String^ recur
)
new :
recur : string -> Recurrence
Parameters
- recur String
- The recurrence parameters in vCalendar 1.0 basic grammar format or iCalendar 2.0
RRULE/EXRULE format.
The RRULE or EXRULE property name is ignored if present
Recurrence r = new Recurrence("FREQ=DAILY;COUNT=30;INTERVAL=5");
// The above is equivalent to:
// Recurrence r = new Recurrence();
// r.Parse("FREQ=DAILY;COUNT=30;INTERVAL=5");
// Set the start date
r.StartDateTime = DateTime.Today;
// Get all instances generated by the recurrence
DateTimeCollection dc = r.AllInstances();
Dim r As New Recurrence("FREQ=DAILY;COUNT=30;INTERVAL=5");
' The above is equivalent to:
' Dim r As New Recurrence()
' r.Parse("FREQ=DAILY;COUNT=30;INTERVAL=5")
' Set the start date
r.StartDateTime = DateTime.Today;
' Get all instances generated by the recurrence
Dim dc As DateTimeCollection = r.AllInstances();
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.