Human readable extension for iCal.NET RecurrencePattern
Thanks to aditosoftware / rrule-parser
Supported languages:
Language | Culture |
---|---|
English | en |
French | fr |
German | de |
Spanish | es |
var recurrencePattern = new RecurrencePattern("FREQ=WEEKLY;INTERVAL=1;BYDAY=MO,TU");
recurrencePattern.ToText(); //every week on Monday, Tuesday
recurrencePattern = new RecurrencePattern("FREQ=YEARLY;BYDAY=WE;BYSETPOS=-1;BYMONTH=4");
recurrencePattern.ToText(); //every year on last Wednesday of April
var cultureInfo = new CultureInfo("de");
recurrencePattern.ToText(cultureInfo); //jedes Jahr am letzten Mittwoch im April